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 (m *MyModel) XXX_Merge(src proto.Message)
- 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) XXX_Marshal ¶
Click to show internal directories.
Click to hide internal directories.