Skip to content

Commit

Permalink
Add go_package options to protobuf specs, and regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
cmikk committed Feb 9, 2021
1 parent 29d8e5f commit 13f6e95
Show file tree
Hide file tree
Showing 26 changed files with 67 additions and 13 deletions.
5 changes: 4 additions & 1 deletion nmsg.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg;
option go_package = "github.com/farsightsec/go-nmsg;nmsg";

message Nmsg {
repeated NmsgPayload payloads = 1;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/dns.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/dns.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

message Dns {
optional uint32 section = 6;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/dnsqr.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/dnsqr.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum DnsQRType {
UDP_INVALID = 0;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/email.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/email.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum EmailType {
unknown = 0;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/encode.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/encode.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum EncodeType {
TEXT = 0;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/http.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/http.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum HttpType {
// unknown = 0;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/ipconn.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/ipconn.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

message IPConn {
optional uint32 proto = 1;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/linkpair.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/linkpair.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum Linktype {
anchor = 0;
Expand Down
6 changes: 5 additions & 1 deletion nmsg_base/logline.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/logline.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

message LogLine {
optional bytes category = 1;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/ncap.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/ncap.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum NcapType {
IPV4 = 0;
Expand Down
6 changes: 5 additions & 1 deletion nmsg_base/packet.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/packet.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

enum PacketType {
// An IPv4 or IPv6 packet. The packet begins immediately with the IP
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/pkt.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/pkt.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

message Pkt {
required bytes payload = 1;
Expand Down
5 changes: 4 additions & 1 deletion nmsg_base/xml.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions nmsg_base/xml.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
syntax = "proto2";
package nmsg.base;
option go_package = "github.com/farsightsec/go-nmsg/nmsg_base;nmsg_base";

message Xml {
required bytes xmltype = 1;
Expand Down

0 comments on commit 13f6e95

Please sign in to comment.