conn

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XTcpConn

type XTcpConn struct {
	*user.UserLite
	// contains filtered or unexported fields
}

func NewXTcpConn

func NewXTcpConn(conn *net.TCPConn) *XTcpConn

func (*XTcpConn) Close

func (tcp *XTcpConn) Close(userId string) error

func (*XTcpConn) SendMessage

func (tcp *XTcpConn) SendMessage(msg *message.Message) (int, error)

func (*XTcpConn) SetReadDeadline

func (tcp *XTcpConn) SetReadDeadline()

func (*XTcpConn) Start

func (tcp *XTcpConn) Start()

Jump to

Keyboard shortcuts

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