Documentation ¶
Index ¶
- Variables
- type Foo
- func (*Foo) Descriptor() ([]byte, []int)
- func (m *Foo) GetBar() []byte
- func (*Foo) ProtoMessage()
- func (m *Foo) Reset()
- func (m *Foo) String() string
- func (m *Foo) Unmarshal(dAtA []byte) error
- func (m *Foo) XXX_DiscardUnknown()
- func (m *Foo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Foo) XXX_Merge(src proto.Message)
- func (m *Foo) XXX_Size() int
- func (m *Foo) XXX_Unmarshal(b []byte) error
- type FooWithRepeated
- func (*FooWithRepeated) Descriptor() ([]byte, []int)
- func (m *FooWithRepeated) GetBar() [][]byte
- func (*FooWithRepeated) ProtoMessage()
- func (m *FooWithRepeated) Reset()
- func (m *FooWithRepeated) String() string
- func (m *FooWithRepeated) Unmarshal(dAtA []byte) error
- func (m *FooWithRepeated) XXX_DiscardUnknown()
- func (m *FooWithRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FooWithRepeated) XXX_Merge(src proto.Message)
- func (m *FooWithRepeated) XXX_Size() int
- func (m *FooWithRepeated) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProto = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProto = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Foo ¶
type Foo struct { Bar []byte `protobuf:"bytes,1,opt,name=bar" json:"bar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Foo) Descriptor ¶
func (*Foo) ProtoMessage ¶
func (*Foo) ProtoMessage()
func (*Foo) XXX_DiscardUnknown ¶
func (m *Foo) XXX_DiscardUnknown()
func (*Foo) XXX_Unmarshal ¶
type FooWithRepeated ¶
type FooWithRepeated struct { Bar [][]byte `protobuf:"bytes,1,rep,name=bar" json:"bar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `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
func (*FooWithRepeated) XXX_DiscardUnknown ¶
func (m *FooWithRepeated) XXX_DiscardUnknown()
func (*FooWithRepeated) XXX_Marshal ¶
func (m *FooWithRepeated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FooWithRepeated) XXX_Merge ¶
func (m *FooWithRepeated) XXX_Merge(src proto.Message)
func (*FooWithRepeated) XXX_Size ¶
func (m *FooWithRepeated) XXX_Size() int
func (*FooWithRepeated) XXX_Unmarshal ¶
func (m *FooWithRepeated) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.