pool

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProxyNode

func NewProxyNode(fn func(string, string) (net.Conn, error)) *proxyNode

Types

type Map added in v0.0.2

type Map interface {
	Delete(interface{})
	Load(interface{}) (interface{}, bool)
	LoadOrStore(interface{}, interface{}) (interface{}, bool)
	Range(func(interface{}, interface{}) bool)
	Store(interface{}, interface{})
}

type ProxyManager added in v0.0.2

type ProxyManager interface {
	Map
	sort.Interface

	IsExist(interface{}) bool
	CloseBad(int64)
	GetSortList() []*proxyNode
}

func NewProxyManager

func NewProxyManager() ProxyManager

Jump to

Keyboard shortcuts

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