request

package
v0.0.0-...-179649a Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	//客户端建立的链接
	Conn ziface.IConnection

	//客户端请求的数据
	Msg ziface.IMessage
}

func (*Request) GetConnection

func (r *Request) GetConnection() ziface.IConnection

获取客户端链接

func (*Request) GetData

func (r *Request) GetData() []byte

获取客户端数据

func (*Request) GetMsgId

func (r *Request) GetMsgId() uint32

获取消息 id

Jump to

Keyboard shortcuts

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