sample_proto_sub

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoIDSubReq = uint32(40001)
	ProtoIDSubRsp = uint32(40002)
)

ProtoID

Variables

This section is empty.

Functions

This section is empty.

Types

type SubReq

type SubReq struct {
	ParamA string `json:"paramA,omitempty"`
}

func NewSubReq

func NewSubReq() *SubReq

func (*SubReq) Decode

func (st *SubReq) Decode(bs []byte) error

func (*SubReq) Encode

func (st *SubReq) Encode() ([]byte, error)

func (*SubReq) Name

func (st *SubReq) Name() string

func (*SubReq) New

func (st *SubReq) New() sample_proto.Message

func (*SubReq) NewST

func (st *SubReq) NewST() sample_proto.DefineST

func (*SubReq) ProtoID

func (st *SubReq) ProtoID() uint32

func (*SubReq) String

func (st *SubReq) String() string

type SubRsp

type SubRsp struct {
	ReturnA string `json:"returnA,omitempty"`
}

func NewSubRsp

func NewSubRsp() *SubRsp

func (*SubRsp) Decode

func (st *SubRsp) Decode(bs []byte) error

func (*SubRsp) Encode

func (st *SubRsp) Encode() ([]byte, error)

func (*SubRsp) Name

func (st *SubRsp) Name() string

func (*SubRsp) New

func (st *SubRsp) New() sample_proto.Message

func (*SubRsp) NewST

func (st *SubRsp) NewST() sample_proto.DefineST

func (*SubRsp) ProtoID

func (st *SubRsp) ProtoID() uint32

func (*SubRsp) String

func (st *SubRsp) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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