Socket
Book a DemoInstallSign in
Socket

github.com/go-micro/plugins/v4/wrapper/select/roundrobin

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/go-micro/plugins/v4/wrapper/select/roundrobin

Source
Go Modules
Version
v1.2.0
Version published
Created
Source

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),
)

FAQs

Package last updated on 01 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts