Discover Packages
github.com/gowins/go-plugins
selector
cache
package
Version:
v0.20.1
Opens a new window with list of versions in this module.
Published: Jan 18, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Cache Selector
The cache selector is a client side load balancer for go-micro. This selector uses the registry Watcher to cache selected services.
It defaults random hashed strategy for load balancing requests across services.
The implementation is at github.com/micro/go-micro/selector/cache but
we add a link here for completeness.
Expand ▾
Collapse ▴
Documentation
¶
Package cache is a caching selector (the default selector)
NewSelector returns a new caching selector using the go-micro registry
Source Files
¶
Click to show internal directories.
Click to hide internal directories.