service

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResetNodeId

func ResetNodeId(nodeId uint64)

多网关部署时 需要重新设置这个值 nano.WithNodeId()

Types

type Connection

type Connection interface {
	Increment()
	Decrement()
	Count() int64
	Reset()
	SessionID() int64
}
var Connections Connection = newDefaultConnectionServer(uint64(os.Getpid()))

Connections is a global variable which is used by session. var Connections = newConnectionService()

Jump to

Keyboard shortcuts

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