sessiondata

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptimizedPeer

type OptimizedPeer struct {
	Peer               peer.ID
	OptimizationRating float64
}

OptimizedPeer describes a peer and its level of optimization from 0 to 1.

type PartialRequest

type PartialRequest struct {
	Peers []peer.ID
	Keys  []cid.Cid
}

PartialRequest is represents one slice of an over request split among peers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL