Documentation ¶
Overview ¶
Package issue34 is a generated protocol buffer package.
It is generated from these files:
proto.proto
It has these top-level messages:
Foo FooWithRepeated
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling")
)
Functions ¶
This section is empty.
Types ¶
type Foo ¶
type Foo struct { Bar []byte `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
type FooWithRepeated ¶
type FooWithRepeated struct { Bar [][]byte `protobuf:"bytes,1,rep,name=bar" json:"bar,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*FooWithRepeated) GetBar ¶
func (m *FooWithRepeated) GetBar() [][]byte
func (*FooWithRepeated) ProtoMessage ¶
func (*FooWithRepeated) ProtoMessage()
func (*FooWithRepeated) Reset ¶
func (m *FooWithRepeated) Reset()
func (*FooWithRepeated) String ¶
func (m *FooWithRepeated) String() string
func (*FooWithRepeated) Unmarshal ¶
func (m *FooWithRepeated) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.