package
1.4.1
Repository: https://github.com/schibsted/sebase.git
Documentation: pkg.go.dev

# Functions

Converts bconf fd pool configuration to a ServiceConfig struct.
Simple dial.
Returns a dialer that ignores the argument given to it and always connects to the service specified to this function.
Simple dialer, but when the conn.Close is called, the connection will be put back into the pool instead of closed.
Dialer that lets you set the remoteAddr parameter given to NewConn.
Returns a function that can is compatible with net.Dial, put on close version.
Helper to construct a URL from a service with the dial domain set in the pool.
Send an HTTP request, repeatedly calling conn.Next() as long as they fail.
Create a new Go fd pool.
Returns a dialer that ignores the port part of addr, instead using the given portKey(s).
Returns a NetConn that when closed will call Put on the passed conn.
PutOnClose version with err passthrough.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Port map to support numeric ports mapping to port keys.

# Structs

Error returned when no more nodes could be found when calling Next or NewConn.
The main fd pool struct.
HostConfig contains a node specific configuration.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Interface covering both GoPool and CPool.
Interface similar to FdPool but containing the new AddConfig function.
Logger interface were used to log from this package.
Extends net.Conn with functions to move to next node, put back the connection into the pool, and some state extraction.