Documentation ¶
Index ¶
- type MyModel
- func (*MyModel) Descriptor() ([]byte, []int)
- func (m *MyModel) GetMynum() int32
- func (m *MyModel) GetName() string
- func (*MyModel) ProtoMessage()
- func (m *MyModel) Reset()
- func (m *MyModel) String() string
- func (m *MyModel) XXX_DiscardUnknown()
- func (m *MyModel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MyModel) XXX_Merge(src proto.Message)
- func (*MyModel) XXX_MessageName() string
- func (m *MyModel) XXX_Size() int
- func (m *MyModel) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyModel ¶
type MyModel struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mynum int32 `protobuf:"varint,2,opt,name=mynum,proto3" json:"mynum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MyModel) Descriptor ¶
func (*MyModel) ProtoMessage ¶
func (*MyModel) ProtoMessage()
func (*MyModel) XXX_DiscardUnknown ¶
func (m *MyModel) XXX_DiscardUnknown()
func (*MyModel) XXX_Marshal ¶
func (*MyModel) XXX_MessageName ¶
func (*MyModel) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.