fabric-sdk-go: github.com/hyperledger/fabric-sdk-go/pkg/client/common/random Index | Files

package random

import "github.com/hyperledger/fabric-sdk-go/pkg/client/common/random"

Index

Package Files

random.go

func PickRandomNPeerConfigs Uses

func PickRandomNPeerConfigs(chPeers []fab.ChannelPeer, n int) []fab.PeerConfig

PickRandomNPeerConfigs picks N random unique peer configs from given channel peer list

Package random imports 2 packages (graph) and is imported by 2 packages. Updated 2018-08-31. Refresh now. Tools for package owners.