grpc proto file

This commit is contained in:
jackdaw@loafle.com 2017-04-12 20:17:43 +09:00
parent ec814d7179
commit 77079d9415
3 changed files with 3 additions and 0 deletions

1
grpc/cmd.txt Normal file
View File

@ -0,0 +1 @@
protoc -I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc

View File

@ -61,6 +61,7 @@ const (
Crawlers_HEALTH_SSH Crawlers = 20 Crawlers_HEALTH_SSH Crawlers = 20
Crawlers_HEALTH_TELNET Crawlers = 21 Crawlers_HEALTH_TELNET Crawlers = 21
Crawlers_HEALTH_WMI Crawlers = 22 Crawlers_HEALTH_WMI Crawlers = 22
) )
var Crawlers_name = map[int32]string{ var Crawlers_name = map[int32]string{

View File

@ -25,6 +25,7 @@ enum Crawlers {
HEALTH_SSH = 20; HEALTH_SSH = 20;
HEALTH_TELNET = 21; HEALTH_TELNET = 21;
HEALTH_WMI = 22; HEALTH_WMI = 22;
HEALTH_CASSANDRA = 23;
} }
// The greeting service definition. // The greeting service definition.