Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
test.proto
It has these top-level messages:
IP URL
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IP ¶
type IP struct { // @inject_tag: valid:"ip" yaml:"ip" Address string `protobuf:"bytes,1,opt,name=Address" json:"Address,omitempty"` }
func (*IP) Descriptor ¶
func (*IP) ProtoMessage ¶
func (*IP) ProtoMessage()
type URL ¶
type URL struct { // @inject_tag: valid:"http|https" Scheme string `protobuf:"bytes,1,opt,name=scheme" json:"scheme,omitempty"` Url string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` // @inject_tag: valid:"nonzero" Port int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"` }
func (*URL) Descriptor ¶
func (*URL) ProtoMessage ¶
func (*URL) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.