Documentation ¶
Overview ¶
Package gogopb is a generated protocol buffer package.
It is generated from these files:
model.proto
It has these top-level messages:
Object
Index ¶
- Variables
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetA() uint32
- func (m *Object) GetB() uint64
- func (m *Object) GetC() float32
- func (m *Object) GetD() float64
- func (m *Object) GetE() string
- func (m *Object) GetF() bool
- func (m *Object) GetG() []byte
- func (m *Object) GetH() [][]byte
- func (m *Object) Marshal() (dAtA []byte, err error)
- func (m *Object) MarshalTo(dAtA []byte) (int, error)
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) Size() (n int)
- func (m *Object) String() string
- func (m *Object) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthModel = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowModel = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { A uint32 `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"` B uint64 `protobuf:"varint,2,opt,name=B,proto3" json:"B,omitempty"` C float32 `protobuf:"fixed32,3,opt,name=C,proto3" json:"C,omitempty"` D float64 `protobuf:"fixed64,4,opt,name=D,proto3" json:"D,omitempty"` E string `protobuf:"bytes,5,opt,name=E,proto3" json:"E,omitempty"` F bool `protobuf:"varint,6,opt,name=F,proto3" json:"F,omitempty"` G []byte `protobuf:"bytes,7,opt,name=G,proto3" json:"G,omitempty"` H [][]byte `protobuf:"bytes,8,rep,name=H" json:"H,omitempty"` }
func (*Object) Descriptor ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.