grpc proto file
This commit is contained in:
parent
ec814d7179
commit
77079d9415
1
grpc/cmd.txt
Normal file
1
grpc/cmd.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
protoc -I grpc/ grpc/grpc.proto --go_out=plugins=grpc:grpc
|
|
@ -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{
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user