tests

package
v0.0.0-...-83fd405 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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_MessageID

func C2S_NoResponse_MessageID() rpc.MessageID

func C2S_NoResponse_MessageName

func C2S_NoResponse_MessageName() string

func C2S_NoResponse_ResponseMessageID

func C2S_NoResponse_ResponseMessageID() rpc.MessageID

func C2S_Ping_MessageID

func C2S_Ping_MessageID() rpc.MessageID

func C2S_Ping_MessageName

func C2S_Ping_MessageName() string

func C2S_Ping_ResponseMessageID

func C2S_Ping_ResponseMessageID() rpc.MessageID

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_MessageID() rpc.MessageID

func S2C_Pong_MessageName

func S2C_Pong_MessageName() string

func S2C_Pong_ResponseMessageID

func S2C_Pong_ResponseMessageID() rpc.MessageID

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) MarshalTo

func (m *C2S_NoResponse) MarshalTo(dAtA []byte) (int, 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) Clone

func (m *C2S_Ping) Clone() *C2S_Ping

func (*C2S_Ping) Descriptor

func (*C2S_Ping) Descriptor() ([]byte, []int)

func (*C2S_Ping) Equal

func (this *C2S_Ping) Equal(that interface{}) bool

func (*C2S_Ping) GetI

func (m *C2S_Ping) GetI() int32

func (*C2S_Ping) GetS

func (m *C2S_Ping) GetS() string

func (*C2S_Ping) GoString

func (this *C2S_Ping) GoString() string

func (*C2S_Ping) Marshal

func (m *C2S_Ping) Marshal() (dAtA []byte, err error)

func (*C2S_Ping) MarshalTo

func (m *C2S_Ping) MarshalTo(dAtA []byte) (int, error)

func (*C2S_Ping) MarshalToSizedBuffer

func (m *C2S_Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (C2S_Ping) MessageID

func (C2S_Ping) MessageID() rpc.MessageID

func (C2S_Ping) MessageName

func (C2S_Ping) MessageName() string

func (*C2S_Ping) ProtoMessage

func (*C2S_Ping) ProtoMessage()

func (C2S_Ping) RPC

func (C2S_Ping) RPC()

func (*C2S_Ping) Reset

func (m *C2S_Ping) Reset()

func (*C2S_Ping) ResetEx

func (m *C2S_Ping) ResetEx()

func (C2S_Ping) ResponseMessageID

func (C2S_Ping) ResponseMessageID() rpc.MessageID

func (*C2S_Ping) Size

func (m *C2S_Ping) Size() (n int)

func (*C2S_Ping) String

func (this *C2S_Ping) String() string

func (*C2S_Ping) Unmarshal

func (m *C2S_Ping) Unmarshal(dAtA []byte) error

func (*C2S_Ping) XXX_DiscardUnknown

func (m *C2S_Ping) XXX_DiscardUnknown()

func (*C2S_Ping) XXX_Marshal

func (m *C2S_Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*C2S_Ping) XXX_Merge

func (m *C2S_Ping) XXX_Merge(src proto.Message)

func (*C2S_Ping) XXX_Size

func (m *C2S_Ping) XXX_Size() int

func (*C2S_Ping) XXX_Unmarshal

func (m *C2S_Ping) XXX_Unmarshal(b []byte) error

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) Clone

func (m *S2C_Pong) Clone() *S2C_Pong

func (*S2C_Pong) Descriptor

func (*S2C_Pong) Descriptor() ([]byte, []int)

func (*S2C_Pong) Equal

func (this *S2C_Pong) Equal(that interface{}) bool

func (*S2C_Pong) GetI

func (m *S2C_Pong) GetI() int32

func (*S2C_Pong) GetS

func (m *S2C_Pong) GetS() string

func (*S2C_Pong) GoString

func (this *S2C_Pong) GoString() string

func (*S2C_Pong) Marshal

func (m *S2C_Pong) Marshal() (dAtA []byte, err error)

func (*S2C_Pong) MarshalTo

func (m *S2C_Pong) MarshalTo(dAtA []byte) (int, error)

func (*S2C_Pong) MarshalToSizedBuffer

func (m *S2C_Pong) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (S2C_Pong) MessageID

func (S2C_Pong) MessageID() rpc.MessageID

func (S2C_Pong) MessageName

func (S2C_Pong) MessageName() string

func (*S2C_Pong) ProtoMessage

func (*S2C_Pong) ProtoMessage()

func (S2C_Pong) RPC

func (S2C_Pong) RPC()

func (*S2C_Pong) Reset

func (m *S2C_Pong) Reset()

func (*S2C_Pong) ResetEx

func (m *S2C_Pong) ResetEx()

func (S2C_Pong) ResponseMessageID

func (S2C_Pong) ResponseMessageID() rpc.MessageID

func (*S2C_Pong) Size

func (m *S2C_Pong) Size() (n int)

func (*S2C_Pong) String

func (this *S2C_Pong) String() string

func (*S2C_Pong) Unmarshal

func (m *S2C_Pong) Unmarshal(dAtA []byte) error

func (*S2C_Pong) XXX_DiscardUnknown

func (m *S2C_Pong) XXX_DiscardUnknown()

func (*S2C_Pong) XXX_Marshal

func (m *S2C_Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*S2C_Pong) XXX_Merge

func (m *S2C_Pong) XXX_Merge(src proto.Message)

func (*S2C_Pong) XXX_Size

func (m *S2C_Pong) XXX_Size() int

func (*S2C_Pong) XXX_Unmarshal

func (m *S2C_Pong) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL