Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BitswapMetadataBytes = varint.ToUvarint(uint64(multicodec.TransportBitswap))
Functions ¶
func NewReframeHTTPHandler ¶
func NewReframeHTTPHandler(indexer indexer.Interface, registry *registry.Registry) http.HandlerFunc
Types ¶
type ReframeService ¶
type ReframeService struct {
// contains filtered or unexported fields
}
func NewReframeService ¶
func NewReframeService(fh *handler.FinderHandler) *ReframeService
func (*ReframeService) FindProviders ¶
func (x *ReframeService) FindProviders(key cid.Cid) (<-chan client.FindProvidersAsyncResult, error)
func (*ReframeService) GetIPNS ¶
func (x *ReframeService) GetIPNS(id []byte) (<-chan client.GetIPNSAsyncResult, error)
func (*ReframeService) PutIPNS ¶
func (x *ReframeService) PutIPNS(id []byte, record []byte) (<-chan client.PutIPNSAsyncResult, error)
Click to show internal directories.
Click to hide internal directories.