# README
Prerequisites
- Install the protoc binary from: https://github.com/protocolbuffers/protobuf/releases
- The release should include an
include
folder that needs to be next to theprotoc
binary
- The release should include an
- Install the protoc plugin for Go
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
- Ensure
protoc
is on your path. - Ensure your Go bin directory is on your path
Generate Go Code
Two options, run the command manually or use go generate
Go Generate
- Navigate to the root project directory
edge
- run
go generate ./common/pb/edge_ctrl_pb/...
orgo generate \common\pb\edge_ctrl_pb\...
Note: Running a naked go generate
will trigger all go:generate
tags in the project, which you most likely do not want
Manually
- Navigate to the project root
- Run:
protoc -I ./common/pb/edge_ctrl_pb/ ./common/pb/edge_ctrl_pb/edge_ctrl.proto --go_out=./pb/edge_ctrl_pb
# Constants
SessionAddedType = 20100; SessionUpdatedType = 20101;.
asn.1 public key.
x509 cert.
# Variables
Enum value maps for CacheType.
Enum value maps for CacheType.
Enum value maps for ContentType.
Enum value maps for ContentType.
Enum value maps for CreateTerminatorResult.
Enum value maps for CreateTerminatorResult.
Enum value maps for DataState_Action.
Enum value maps for DataState_Action.
Enum value maps for DataState_PublicKey_Format.
Enum value maps for DataState_PublicKey_Format.
Enum value maps for DataState_PublicKey_Usage.
Enum value maps for DataState_PublicKey_Usage.
Enum value maps for Header.
Enum value maps for Header.
Enum value maps for PolicyType.
Enum value maps for PolicyType.
Enum value maps for ServicePolicyRelatedEntityType.
Enum value maps for ServicePolicyRelatedEntityType.
Enum value maps for SessionType.
Enum value maps for SessionType.
Enum value maps for TerminatorPrecedence.
Enum value maps for TerminatorPrecedence.