Back to godoc.org

Package balancedsorter

v1.0.0-beta3
Latest Go to latest

The latest major version is .

Published: Aug 26, 2020 | License: Apache-2.0 | Module: github.com/hyperledger/fabric-sdk-go

Index

func New

func New(opts ...coptions.Opt) options.PeerSorter

New returns a peer sorter that chooses a peer according to a provided balancer.

func WithBalancer

func WithBalancer(value balancer.Balancer) options.Opt

WithBalancer sets the balancing strategy to use to load balance between the peers

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier