Documentation ¶
Index ¶
- Variables
- func C2S_NoResponse_MessageID() rpc.MessageID
- func C2S_NoResponse_MessageName() string
- func C2S_NoResponse_ResponseMessageID() rpc.MessageID
- func C2S_Ping_MessageID() rpc.MessageID
- func C2S_Ping_MessageName() string
- func C2S_Ping_ResponseMessageID() rpc.MessageID
- func Put_C2S_NoResponse(i interface{})
- func Put_C2S_Ping(i interface{})
- func Put_S2C_Pong(i interface{})
- func S2C_Pong_MessageID() rpc.MessageID
- func S2C_Pong_MessageName() string
- func S2C_Pong_ResponseMessageID() rpc.MessageID
- type C2S_NoResponse
- func (m *C2S_NoResponse) Clone() *C2S_NoResponse
- func (*C2S_NoResponse) Descriptor() ([]byte, []int)
- func (this *C2S_NoResponse) Equal(that interface{}) bool
- func (this *C2S_NoResponse) GoString() string
- func (m *C2S_NoResponse) Marshal() (dAtA []byte, err error)
- func (m *C2S_NoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *C2S_NoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (C2S_NoResponse) MessageID() rpc.MessageID
- func (C2S_NoResponse) MessageName() string
- func (*C2S_NoResponse) ProtoMessage()
- func (C2S_NoResponse) RPC()
- func (m *C2S_NoResponse) Reset()
- func (m *C2S_NoResponse) ResetEx()
- func (C2S_NoResponse) ResponseMessageID() rpc.MessageID
- func (m *C2S_NoResponse) Size() (n int)
- func (this *C2S_NoResponse) String() string
- func (m *C2S_NoResponse) Unmarshal(dAtA []byte) error
- func (m *C2S_NoResponse) XXX_DiscardUnknown()
- func (m *C2S_NoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_NoResponse) XXX_Merge(src proto.Message)
- func (m *C2S_NoResponse) XXX_Size() int
- func (m *C2S_NoResponse) XXX_Unmarshal(b []byte) error
- type C2S_Ping
- func (m *C2S_Ping) Clone() *C2S_Ping
- func (*C2S_Ping) Descriptor() ([]byte, []int)
- func (this *C2S_Ping) Equal(that interface{}) bool
- func (m *C2S_Ping) GetI() int32
- func (m *C2S_Ping) GetS() string
- func (this *C2S_Ping) GoString() string
- func (m *C2S_Ping) Marshal() (dAtA []byte, err error)
- func (m *C2S_Ping) MarshalTo(dAtA []byte) (int, error)
- func (m *C2S_Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (C2S_Ping) MessageID() rpc.MessageID
- func (C2S_Ping) MessageName() string
- func (*C2S_Ping) ProtoMessage()
- func (C2S_Ping) RPC()
- func (m *C2S_Ping) Reset()
- func (m *C2S_Ping) ResetEx()
- func (C2S_Ping) ResponseMessageID() rpc.MessageID
- func (m *C2S_Ping) Size() (n int)
- func (this *C2S_Ping) String() string
- func (m *C2S_Ping) Unmarshal(dAtA []byte) error
- func (m *C2S_Ping) XXX_DiscardUnknown()
- func (m *C2S_Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *C2S_Ping) XXX_Merge(src proto.Message)
- func (m *C2S_Ping) XXX_Size() int
- func (m *C2S_Ping) XXX_Unmarshal(b []byte) error
- type S2C_Pong
- func (m *S2C_Pong) Clone() *S2C_Pong
- func (*S2C_Pong) Descriptor() ([]byte, []int)
- func (this *S2C_Pong) Equal(that interface{}) bool
- func (m *S2C_Pong) GetI() int32
- func (m *S2C_Pong) GetS() string
- func (this *S2C_Pong) GoString() string
- func (m *S2C_Pong) Marshal() (dAtA []byte, err error)
- func (m *S2C_Pong) MarshalTo(dAtA []byte) (int, error)
- func (m *S2C_Pong) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (S2C_Pong) MessageID() rpc.MessageID
- func (S2C_Pong) MessageName() string
- func (*S2C_Pong) ProtoMessage()
- func (S2C_Pong) RPC()
- func (m *S2C_Pong) Reset()
- func (m *S2C_Pong) ResetEx()
- func (S2C_Pong) ResponseMessageID() rpc.MessageID
- func (m *S2C_Pong) Size() (n int)
- func (this *S2C_Pong) String() string
- func (m *S2C_Pong) Unmarshal(dAtA []byte) error
- func (m *S2C_Pong) XXX_DiscardUnknown()
- func (m *S2C_Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *S2C_Pong) XXX_Merge(src proto.Message)
- func (m *S2C_Pong) XXX_Size() int
- func (m *S2C_Pong) 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") ErrUnexpectedEndOfGroupProto = fmt.Errorf("proto: unexpected end of group") )
View Source
var Protocol = nrpc.Protocol(nil)
Functions ¶
func C2S_NoResponse_MessageName ¶
func C2S_NoResponse_MessageName() string
func C2S_Ping_MessageID ¶
func C2S_Ping_MessageName ¶
func C2S_Ping_MessageName() string
func Put_C2S_NoResponse ¶
func Put_C2S_NoResponse(i interface{})
func Put_C2S_Ping ¶
func Put_C2S_Ping(i interface{})
func Put_S2C_Pong ¶
func Put_S2C_Pong(i interface{})
func S2C_Pong_MessageID ¶
func S2C_Pong_MessageName ¶
func S2C_Pong_MessageName() string
Types ¶
type C2S_NoResponse ¶
type C2S_NoResponse struct { }
/ 测试请求2 @id=5
func Get_C2S_NoResponse ¶
func Get_C2S_NoResponse() *C2S_NoResponse
func New_C2S_NoResponse ¶
func New_C2S_NoResponse() *C2S_NoResponse
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_NoResponse begin
func (*C2S_NoResponse) Clone ¶
func (m *C2S_NoResponse) Clone() *C2S_NoResponse
func (*C2S_NoResponse) Descriptor ¶
func (*C2S_NoResponse) Descriptor() ([]byte, []int)
func (*C2S_NoResponse) Equal ¶
func (this *C2S_NoResponse) Equal(that interface{}) bool
func (*C2S_NoResponse) GoString ¶
func (this *C2S_NoResponse) GoString() string
func (*C2S_NoResponse) Marshal ¶
func (m *C2S_NoResponse) Marshal() (dAtA []byte, err error)
func (*C2S_NoResponse) MarshalToSizedBuffer ¶
func (m *C2S_NoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (C2S_NoResponse) MessageID ¶
func (C2S_NoResponse) MessageID() rpc.MessageID
func (C2S_NoResponse) MessageName ¶
func (C2S_NoResponse) MessageName() string
func (*C2S_NoResponse) ProtoMessage ¶
func (*C2S_NoResponse) ProtoMessage()
func (C2S_NoResponse) RPC ¶
func (C2S_NoResponse) RPC()
func (*C2S_NoResponse) Reset ¶
func (m *C2S_NoResponse) Reset()
func (*C2S_NoResponse) ResetEx ¶
func (m *C2S_NoResponse) ResetEx()
func (C2S_NoResponse) ResponseMessageID ¶
func (C2S_NoResponse) ResponseMessageID() rpc.MessageID
func (*C2S_NoResponse) Size ¶
func (m *C2S_NoResponse) Size() (n int)
func (*C2S_NoResponse) String ¶
func (this *C2S_NoResponse) String() string
func (*C2S_NoResponse) Unmarshal ¶
func (m *C2S_NoResponse) Unmarshal(dAtA []byte) error
func (*C2S_NoResponse) XXX_DiscardUnknown ¶
func (m *C2S_NoResponse) XXX_DiscardUnknown()
func (*C2S_NoResponse) XXX_Marshal ¶
func (m *C2S_NoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*C2S_NoResponse) XXX_Merge ¶
func (m *C2S_NoResponse) XXX_Merge(src proto.Message)
func (*C2S_NoResponse) XXX_Size ¶
func (m *C2S_NoResponse) XXX_Size() int
func (*C2S_NoResponse) XXX_Unmarshal ¶
func (m *C2S_NoResponse) XXX_Unmarshal(b []byte) error
type C2S_Ping ¶
type C2S_Ping struct { I int32 `protobuf:"varint,1,opt,name=I,proto3" json:"I,omitempty"` S string `protobuf:"bytes,2,opt,name=S,proto3" json:"S,omitempty"` }
/ 测试请求 @id=1 @response=S2C_Pong
func Get_C2S_Ping ¶
func Get_C2S_Ping() *C2S_Ping
func New_C2S_Ping ¶
func New_C2S_Ping() *C2S_Ping
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message C2S_Ping begin
func (*C2S_Ping) Descriptor ¶
func (*C2S_Ping) MarshalToSizedBuffer ¶
func (C2S_Ping) MessageName ¶
func (*C2S_Ping) ProtoMessage ¶
func (*C2S_Ping) ProtoMessage()
func (C2S_Ping) ResponseMessageID ¶
func (*C2S_Ping) XXX_DiscardUnknown ¶
func (m *C2S_Ping) XXX_DiscardUnknown()
func (*C2S_Ping) XXX_Marshal ¶
func (*C2S_Ping) XXX_Unmarshal ¶
type S2C_Pong ¶
type S2C_Pong struct { I int32 `protobuf:"varint,1,opt,name=I,proto3" json:"I,omitempty"` S string `protobuf:"bytes,2,opt,name=S,proto3" json:"S,omitempty"` }
/ 测试回复 @id=2
func Get_S2C_Pong ¶
func Get_S2C_Pong() *S2C_Pong
func New_S2C_Pong ¶
func New_S2C_Pong() *S2C_Pong
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// message S2C_Pong begin
func (*S2C_Pong) Descriptor ¶
func (*S2C_Pong) MarshalToSizedBuffer ¶
func (S2C_Pong) MessageName ¶
func (*S2C_Pong) ProtoMessage ¶
func (*S2C_Pong) ProtoMessage()
func (S2C_Pong) ResponseMessageID ¶
func (*S2C_Pong) XXX_DiscardUnknown ¶
func (m *S2C_Pong) XXX_DiscardUnknown()
func (*S2C_Pong) XXX_Marshal ¶
func (*S2C_Pong) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.