mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-17 17:44:30 +02:00
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),
)