package
0.4.0
Repository: https://github.com/joelfischerr/scion.git
Documentation: pkg.go.dev

# Packages

Package svcinstance provides a pool to keep track of the health status of service instances.

# Functions

NewInfo creates a new health info.
NewPool creates a health pool that contains all entries provided in infos.

# Constants

DefaultExpireInterval is the default for ExpireInterval.
DefaultExpireStart is the the default for ExpireStart.
ErrPoolClosed is the error returned when operations on a closed pool are executed.
MaxFailCount is the maximum fail count for a health info.
MinFailCount selects a pool entry with the minimum fail count.

# Structs

ExpireOptions define the expiration behavior.
Pool holds entries and their health.
PoolOptions define the behavior of the pool.

# Interfaces

Info keeps track of the fails for a key.

# Type aliases

Algorithm is the choosing algorithm of the pool.
InfoSet is a set of infos.