utils

package
v0.0.0-...-2bf1368 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transfer

type Transfer struct {
	Conn net.Conn
	Buf  [8192]byte
}

这个结构体,完成对服务器端发送和接收消息包的读取

func (*Transfer) ClientReadPackage

func (tf *Transfer) ClientReadPackage() (msg common.Message, err error)

Jump to

Keyboard shortcuts

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