MCPcopy Create free account
hub / github.com/cgrates/fsock / NewFSockPool

Function NewFSockPool

fsockpool.go:18–55  ·  view source on GitHub ↗

Instantiates a new FSockPool

(maxFSocks int,
	addr, passwd string,
	reconnects int,
	maxWaitConn, maxReconnectInterval, replyTimeout time.Duration,
	delayFuncConstructor func(time.Duration, time.Duration) func() time.Duration,
	eventHandlers map[string][]func(string, int),
	eventFilters map[string][]string,
	logger logger,
	connIdx int,
	bgapi bool,
	stopError chan error,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestFSockNewFSockPoolFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestFSockNewFSockPoolFunction · 0.68