tcp

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// EventListener register event callback
	EventListener       = colong.NewEventListener()
	EventServerListener = colong.NewServerEventListener()
)

Functions

func InitialSession

func InitialSession(name string, session getty.Session) (err error)

InitialSession name是连接的服务端的名称

func InitialSessionServer

func InitialSessionServer(name string, session getty.Session, clusterInToPub colong.ClusterInToPub,
	clusterInToPubShare colong.ClusterInToPubShare, clusterInToPubSys colong.ClusterInToPubSys,
	shareTopicMapNode cluster.ShareTopicMapNode) (err error)

InitialSessionServer 这里的name是本服务的名称,没啥用

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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