Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 489 Bytes

File metadata and controls

27 lines (17 loc) · 489 Bytes

EyeSee Service

Dev

Generate gRPC code

Run from EyeSee dir

protoc --go_out=./dev/service/proto --go-grpc_out=./dev/service/proto ./protocols/*.proto

Build

CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o ../../service/eyesee main.go

Client

You can test the service with grpc-client-cli (https://github.com/vadimi/grpc-client-cli)

Run from EyeSee dir

grpc-client-cli --proto=protocols/service.proto "localhost:25910"