global

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProxyTaskQueue map[string]map[string]ProxyTaskQueueItem

Functions

func ProxyTaskQueueClose

func ProxyTaskQueueClose(serverID string)

关闭服务ID任务队列

func ProxyTaskQueueTimeoutClear

func ProxyTaskQueueTimeoutClear(serverID string, timeoutSeconds int64)

超时任务清理

Types

type ProxyTaskQueueItem

type ProxyTaskQueueItem struct {
	ID       string
	Conn     net.Conn
	TimeUnix int64 //任务队列超时判断
	Status   bool  //是否连接,未连接超时清除连接
}

Jump to

Keyboard shortcuts

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