package
0.0.0-20241118092146-e14b3c000036
Repository: https://github.com/lolizeppelin/micro.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewSharedStrategy returns a `SelectOption` that directs all request according to the given `keys`.
No description provided by the author
RoundRobin is a roundrobin strategy algorithm for node selection.
ScoreNodes returns a score for each node found in the given services.
WithCacheSeconds sets the seconds of cache ttl.
WithRegistry sets the registry used by the selector.
WithStrategy sets the default strategy for the selector.

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

Filter is used to filter a service during the selection process.
Next is a function that returns the next node based on the selector's strategy.
No description provided by the author
Strategy is a selection strategy e.g random, round robin.