...
Package issue34
Overview ▹
Index ▹
Variables
var (
ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling")
ErrIntOverflowProto = fmt.Errorf("proto: integer overflow")
)
type Foo ¶
type Foo struct {
Bar []byte `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*Foo) Descriptor ¶
func (*Foo) Descriptor() ([]byte, []int)
func (*Foo) GetBar ¶
func (m *Foo) GetBar() []byte
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) Reset ¶
func (m *Foo) Reset()
func (*Foo) String ¶
func (m *Foo) String() string
func (*Foo) Unmarshal ¶
func (m *Foo) Unmarshal(dAtA []byte) error
type FooWithRepeated ¶
type FooWithRepeated struct {
Bar [][]byte `protobuf:"bytes,1,rep,name=bar" json:"bar,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
func (*FooWithRepeated) Descriptor ¶
func (*FooWithRepeated) Descriptor() ([]byte, []int)
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
ActiveGo 1.8