Documentation ¶
Overview ¶
Package etcdexample explains how to generate Golang structures from protobuf-formatted data.
Package etcdexample is a generated protocol buffer package.
It is generated from these files:
example.proto
It has these top-level messages:
EtcdExample
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EtcdExample ¶
type EtcdExample struct { StringVal string `protobuf:"bytes,1,opt,name=string_val,proto3" json:"string_val,omitempty"` Uint32Val uint32 `protobuf:"varint,2,opt,name=uint32_val,proto3" json:"uint32_val,omitempty"` BoolVal bool `protobuf:"varint,3,opt,name=bool_val,proto3" json:"bool_val,omitempty"` }
func (*EtcdExample) ProtoMessage ¶
func (*EtcdExample) ProtoMessage()
func (*EtcdExample) Reset ¶
func (pb *EtcdExample) Reset()
func (*EtcdExample) String ¶
func (pb *EtcdExample) String() string
type EtcdExampleStructExample ¶
type EtcdExampleStructExample struct { Val1 string `protobuf:"bytes,1,opt,name=val1,proto3" json:"val1,omitempty"` Val2 uint32 `protobuf:"varint,2,opt,name=val2,proto3" json:"val2,omitempty"` }
func (*EtcdExampleStructExample) ProtoMessage ¶
func (*EtcdExampleStructExample) ProtoMessage()
func (*EtcdExampleStructExample) Reset ¶
func (m *EtcdExampleStructExample) Reset()
func (*EtcdExampleStructExample) String ¶
func (m *EtcdExampleStructExample) String() string
Click to show internal directories.
Click to hide internal directories.