Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkPool ¶
type NetworkTakenError ¶
func (NetworkTakenError) Error ¶
func (e NetworkTakenError) Error() string
type PoolExhaustedError ¶
type PoolExhaustedError struct{}
func (PoolExhaustedError) Error ¶
func (e PoolExhaustedError) Error() string
type RealNetworkPool ¶
type RealNetworkPool struct {
// contains filtered or unexported fields
}
func New ¶
func New(ipNet *net.IPNet) *RealNetworkPool
func (*RealNetworkPool) InitialSize ¶
func (p *RealNetworkPool) InitialSize() int
func (*RealNetworkPool) Network ¶
func (p *RealNetworkPool) Network() *net.IPNet
func (*RealNetworkPool) Release ¶
func (p *RealNetworkPool) Release(network *network.Network)
Click to show internal directories.
Click to hide internal directories.