Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithPeerFilter ¶
func WithPeerFilter(value PeerFilter) copts.Opt
WithPeerFilter sets a peer filter which provides per-request filtering of peers
Types ¶
type Params ¶
type Params struct {
PeerFilter PeerFilter
}
Params defines the parameters of a selection service request
func (*Params) SetPeerFilter ¶
func (p *Params) SetPeerFilter(value PeerFilter)
SetPeerFilter sets the peer filter
Click to show internal directories.
Click to hide internal directories.