package
1.0.1-rc2
Repository: https://github.com/stack-labs/stack.git
Documentation: pkg.go.dev

# Packages

Package dns provides a dns SRV selector.
No description provided by the author
Package static provides a static resolver which returns the name/ip passed in without any change.

# Functions

FilterEndpoint is an endpoint based Next Filter which will only return services with the endpoint specified.
FilterLabel is a label based Next Filter which will only return services with the label specified.
FilterVersion is a version based Next Filter which will only return services with the version specified.
No description provided by the author
Random is a random strategy algorithm for node selection.
Registry sets the registry used by the selector.
RoundRobin is a round robin strategy algorithm for node selection.
SetStrategy sets the default strategy for the selector.
WithFilter adds a filter function to the list of filters used during the Next call.
Strategy sets the selector strategy.

# Variables

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

# Structs

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

# Interfaces

Selector builds on the registry as a mechanism to pick nodes and mark their status.

# Type aliases

Filter is used to filter a service during the selection process.
Option used to initialise the selector.
SelectOption used when making a select call.
Strategy is a selection strategy e.g random, round robin.