An average service.
gRPC library code is generated from the Protobuf definition file in /pkg/pb/*.proto
and is output to /pkg/pb/*.pb.go
.
Two scripts are provided for make development a bit easier:
hack/update_codegen.sh
- runsprotoc
code generation to build the Go library fileshack/verify_codegen.sh
- verifies that the generated code is up to date.
The code is verified as part of the Docker build process.
chart/
ci/
pipeline.yml
cmd/
client/
server/
hack/
pkg/
pb/
chart/
- helm chart definition
ci
- continuous integration pipeline definition
cmd/server
- code for the server CLI
cmd/client
- code for the client CLI
hack
- code generation scripts
pkg/pb
- protobuf defintion and go bindings
docker run mbellgb/avg:<version>
where <version>
is the latest version of
avg
service.
You can also specify -p
to choose a port (default: 2222) and -h
to define
what IP to bind to (default: 0.0.0.0
)
Download the release for your platform and version.
avg --help
will give you a list of commands and how to use them.