package
Version:
v0.12.1
Opens a new window with list of versions in this module.
Published: Aug 27, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
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
¶
Click to show internal directories.
Click to hide internal directories.