diff --git a/grpc/cmd.txt b/grpc/cmd.txt new file mode 100644 index 0000000..d41c703 --- /dev/null +++ b/grpc/cmd.txt @@ -0,0 +1 @@ +protoc -I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc \ No newline at end of file diff --git a/grpc/grpc.pb.go b/grpc/grpc.pb.go index 3335ac3..f359118 100644 --- a/grpc/grpc.pb.go +++ b/grpc/grpc.pb.go @@ -61,6 +61,7 @@ const ( Crawlers_HEALTH_SSH Crawlers = 20 Crawlers_HEALTH_TELNET Crawlers = 21 Crawlers_HEALTH_WMI Crawlers = 22 + ) var Crawlers_name = map[int32]string{ diff --git a/grpc/grpc.proto b/grpc/grpc.proto index c9fe0c8..c2ec93e 100644 --- a/grpc/grpc.proto +++ b/grpc/grpc.proto @@ -25,6 +25,7 @@ enum Crawlers { HEALTH_SSH = 20; HEALTH_TELNET = 21; HEALTH_WMI = 22; + HEALTH_CASSANDRA = 23; } // The greeting service definition.