Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapLoader ¶
func WrapLoader(loader ipldbridge.Loader, requestID graphsync.RequestID, responseSender ResponseSender) ipldbridge.Loader
WrapLoader wraps a given loader with an interceptor that sends loaded blocks out to the network with the given response sender.
Types ¶
type ResponseSender ¶
type ResponseSender interface { SendResponse( requestID graphsync.RequestID, link ipld.Link, data []byte, ) }
ResponseSender sends responses over the network
Click to show internal directories.
Click to hide internal directories.