Documentation ¶
Index ¶
- Variables
- type Pool
- func (pool *Pool) FetchPeerIdentity(ctx context.Context, url storj.NodeURL) (_ *identity.PeerIdentity, err error)
- func (pool *Pool) GetAddress(ctx context.Context, id storj.NodeID) (_ string, err error)
- func (pool *Pool) GetSatellites(ctx context.Context) (satellites []storj.NodeID)
- func (pool *Pool) GetSignee(ctx context.Context, id storj.NodeID) (_ signing.Signee, err error)
- func (pool *Pool) VerifySatelliteID(ctx context.Context, id storj.NodeID) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Error = errs.Class("trust")
Error is the default error class
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool implements different peer verifications.
architecture: Service
func (*Pool) FetchPeerIdentity ¶ added in v0.15.3
func (pool *Pool) FetchPeerIdentity(ctx context.Context, url storj.NodeURL) (_ *identity.PeerIdentity, err error)
FetchPeerIdentity dials the url and fetches the identity.
func (*Pool) GetAddress ¶ added in v0.15.0
GetAddress returns the address of a satellite in the trusted list
func (*Pool) GetSatellites ¶ added in v0.14.0
GetSatellites returns a slice containing all trusted satellites
Click to show internal directories.
Click to hide internal directories.