The highest tagged major version is
v2.
package
Version:
v1.5.1
Opens a new window with list of versions in this module.
Published: Nov 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 11
Opens a new window with list of known importers.
README
¶
Round Robin Wrapper
The round robin wrapper is a stateful client wrapper which gives you a true round robin strategy for the selector
Usage
Pass in the wrapper when you create your service
wrapper := roundrobin.NewClientWrapper()
service := micro.NewService(
micro.Name("foo"),
micro.WrapClient(wrapper),
)
Documentation
¶
Package roundrobin implements a roundrobin call strategy
NewClientWrapper is a wrapper which roundrobins requests
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.