Versions in this module Expand all Collapse all v0 v0.16.2 Dec 14, 2023 v0.16.1 Dec 14, 2023 Changes in this version + type BlockResult struct + Err error + Extensions []graphsync.ExtensionData + type ErrPaused struct + func (e ErrPaused) Error() string + type IncomingRequestHooks struct + func NewRequestHooks(persistenceOptions PersistenceOptions) *IncomingRequestHooks + func (irh *IncomingRequestHooks) ProcessRequestHooks(p peer.ID, request graphsync.RequestData, reqCtx context.Context) RequestResult + func (irh *IncomingRequestHooks) Register(hook graphsync.OnIncomingRequestHook) graphsync.UnregisterHookFunc + type OutgoingBlockHooks struct + func NewBlockHooks() *OutgoingBlockHooks + func (obh *OutgoingBlockHooks) ProcessBlockHooks(p peer.ID, request graphsync.RequestData, blockData graphsync.BlockData) BlockResult + func (obh *OutgoingBlockHooks) Register(hook graphsync.OnOutgoingBlockHook) graphsync.UnregisterHookFunc + type PersistenceOptions interface + GetLinkSystem func(name string) (ipld.LinkSystem, bool) + type RequestResult struct + Ctx context.Context + CustomChooser traversal.LinkTargetNodePrototypeChooser + CustomLinkSystem ipld.LinkSystem + Err error + Extensions []graphsync.ExtensionData + IsPaused bool + IsValidated bool + MaxLinks uint64 + type RequestUpdatedHooks struct + func NewUpdateHooks() *RequestUpdatedHooks + func (ruh *RequestUpdatedHooks) ProcessUpdateHooks(p peer.ID, request graphsync.RequestData, update graphsync.RequestData) UpdateResult + func (ruh *RequestUpdatedHooks) Register(hook graphsync.OnRequestUpdatedHook) graphsync.UnregisterHookFunc + type UpdateResult struct + Err error + Extensions []graphsync.ExtensionData + Unpause bool