Documentation ¶
Overview ¶
Package protodef provides functions to make dynamic protobuf messages with the use of the groxypb options in protobuf snippets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildMessage ¶
BuildMessage parses the protobuf definition with groxy options and returns a proto.Message that can be used to respond requests or match requests to.
Types ¶
type Definer ¶
type Definer struct {
// contains filtered or unexported fields
}
Definer parses protobuf snippets and builds protobuf messages according to the specified groxy option values.
func NewDefiner ¶
NewDefiner returns a new Definer with the given options applied.
Click to show internal directories.
Click to hide internal directories.