client

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MulanPSL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientFacade

type ClientFacade struct {
	// contains filtered or unexported fields
}

func BootClient

func BootClient(callback inboundCommands.ICallBack) *ClientFacade

func (*ClientFacade) Close

func (facade *ClientFacade) Close(uID int64, ChlCtx service.IChannelContext, Desc string)

func (*ClientFacade) Connect

func (facade *ClientFacade) Connect(ip string, port int, uID int64)

func (*ClientFacade) SendMessage

func (facade *ClientFacade) SendMessage(uID int64, ChlCtx service.IChannelContext, Data protocol.IProtocol, OnClose bool, Desc string)

SendMessage OnClose:是否在消息发送完毕后关闭连接

Jump to

Keyboard shortcuts

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