Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnSerializePeers ¶
func UnSerializePeers(prs []AddrInfoString) []*peer.AddrInfo
Types ¶
type AddrInfoString ¶
func SerializePeers ¶
func SerializePeers(peers []*peer.AddrInfo) []AddrInfoString
type PinningOperation ¶
type PinningOperation struct { Obj cid.Cid Name string Peers []AddrInfoString Meta string Status status.PinningStatus UserId uint ContId uint64 Replace uint LastUpdate time.Time Started time.Time FetchErr error EndTime time.Time Location string SkipLimiter bool MakeDeal bool // contains filtered or unexported fields }
TODO: some of these fields are overkill for the generalized pin manager thing, but are still in use by the primary estuary node. Should probably find a way to decouple this better
func (*PinningOperation) Complete ¶
func (po *PinningOperation) Complete()
func (*PinningOperation) Fail ¶
func (po *PinningOperation) Fail(err error)
func (*PinningOperation) SetStatus ¶
func (po *PinningOperation) SetStatus(st status.PinningStatus)
Click to show internal directories.
Click to hide internal directories.