core

package
v0.0.0-...-78a0d84 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAddClient

func CheckAddClient(conn defs.IConnection, sessionId string, serviceHandle network.ServiceHandle, async ...bool) defs.ISession

func DelClient

func DelClient(sessionId string)

func DelClientByConnId

func DelClientByConnId(connId string) []defs.ISession

func GetClient

func GetClient(sessionId string) defs.ISession

func GetClientCount

func GetClientCount() int64

func RangeClient

func RangeClient(f func(string, defs.ISession) bool)

Types

type Client

type Client struct {
	*network.Session
}

func NewClient

func NewClient(conn defs.IConnection, sessionId string, serviceHandle network.ServiceHandle, async ...bool) *Client

func NewClient(conn defs.IConnection, sessionId string, serve defs.ServeObj, async ...bool) *Client {

Jump to

Keyboard shortcuts

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