protocol

package
v0.0.0-...-9f872dd Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C2S_TestRequest

type C2S_TestRequest struct {
	Data             *TestData `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

func (*C2S_TestRequest) Descriptor

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

func (*C2S_TestRequest) GetData

func (m *C2S_TestRequest) GetData() *TestData

func (*C2S_TestRequest) ProtoMessage

func (*C2S_TestRequest) ProtoMessage()

func (*C2S_TestRequest) Reset

func (m *C2S_TestRequest) Reset()

func (*C2S_TestRequest) String

func (m *C2S_TestRequest) String() string

type S2C_TestResponse

type S2C_TestResponse struct {
	Res              *int32 `protobuf:"varint,2,opt,name=res" json:"res,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*S2C_TestResponse) Descriptor

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

func (*S2C_TestResponse) GetRes

func (m *S2C_TestResponse) GetRes() int32

func (*S2C_TestResponse) ProtoMessage

func (*S2C_TestResponse) ProtoMessage()

func (*S2C_TestResponse) Reset

func (m *S2C_TestResponse) Reset()

func (*S2C_TestResponse) String

func (m *S2C_TestResponse) String() string

type TestData

type TestData struct {
	Name             *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	Id               *uint32 `protobuf:"varint,2,opt,name=id" json:"id,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*TestData) Descriptor

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

func (*TestData) GetId

func (m *TestData) GetId() uint32

func (*TestData) GetName

func (m *TestData) GetName() string

func (*TestData) ProtoMessage

func (*TestData) ProtoMessage()

func (*TestData) Reset

func (m *TestData) Reset()

func (*TestData) String

func (m *TestData) String() string

Jump to

Keyboard shortcuts

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