Documentation ¶
Index ¶
- Variables
- type ErrorEx
- func (*ErrorEx) Descriptor() ([]byte, []int)
- func (*ErrorEx) ProtoMessage()
- func (m *ErrorEx) Reset()
- func (m *ErrorEx) String() string
- func (m *ErrorEx) XXX_DiscardUnknown()
- func (m *ErrorEx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ErrorEx) XXX_Merge(src proto.Message)
- func (m *ErrorEx) XXX_Size() int
- func (m *ErrorEx) XXX_Unmarshal(b []byte) error
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (m *Ping) GetTimes() int64
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) String() string
- func (m *Ping) XXX_DiscardUnknown()
- func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ping) XXX_Merge(src proto.Message)
- func (m *Ping) XXX_Size() int
- func (m *Ping) XXX_Unmarshal(b []byte) error
- type Pong
- func (*Pong) Descriptor() ([]byte, []int)
- func (m *Pong) GetTimes() int64
- func (*Pong) ProtoMessage()
- func (m *Pong) Reset()
- func (m *Pong) String() string
- func (m *Pong) XXX_DiscardUnknown()
- func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pong) XXX_Merge(src proto.Message)
- func (m *Pong) XXX_Size() int
- func (m *Pong) XXX_Unmarshal(b []byte) error
- type STATUS
Constants ¶
This section is empty.
Variables ¶
View Source
var STATUS_name = map[int32]string{
0: "SUCCESS",
1: "UNKNOWN_ERROR",
}
View Source
var STATUS_value = map[string]int32{
"SUCCESS": 0,
"UNKNOWN_ERROR": 1,
}
Functions ¶
This section is empty.
Types ¶
type ErrorEx ¶
type ErrorEx struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
id = 3
func (*ErrorEx) Descriptor ¶
func (*ErrorEx) ProtoMessage ¶
func (*ErrorEx) ProtoMessage()
func (*ErrorEx) XXX_DiscardUnknown ¶
func (m *ErrorEx) XXX_DiscardUnknown()
func (*ErrorEx) XXX_Marshal ¶
func (*ErrorEx) XXX_Unmarshal ¶
type Ping ¶
type Ping struct { Times int64 `protobuf:"varint,1,opt,name=Times,proto3" json:"Times,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
id 小于20的为保留协议 业务协议不能占用 id = 1
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) XXX_DiscardUnknown ¶
func (m *Ping) XXX_DiscardUnknown()
func (*Ping) XXX_Unmarshal ¶
type Pong ¶
type Pong struct { Times int64 `protobuf:"varint,1,opt,name=Times,proto3" json:"Times,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
id = 2
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) XXX_DiscardUnknown ¶
func (m *Pong) XXX_DiscardUnknown()
func (*Pong) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.