Documentation ¶
Index ¶
- Variables
- func NewReframeHTTPHandler(indexer indexer.Interface, registry *registry.Registry) http.HandlerFunc
- type ReframeService
- func (x *ReframeService) FindProviders(ctx context.Context, key cid.Cid) (<-chan client.FindProvidersAsyncResult, error)
- func (x *ReframeService) GetIPNS(ctx context.Context, id []byte) (<-chan client.GetIPNSAsyncResult, error)
- func (x *ReframeService) PutIPNS(ctx context.Context, id []byte, record []byte) (<-chan client.PutIPNSAsyncResult, error)
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(ctx context.Context, key cid.Cid) (<-chan client.FindProvidersAsyncResult, error)
func (*ReframeService) GetIPNS ¶
func (x *ReframeService) GetIPNS(ctx context.Context, id []byte) (<-chan client.GetIPNSAsyncResult, error)
func (*ReframeService) PutIPNS ¶
func (x *ReframeService) PutIPNS(ctx context.Context, id []byte, record []byte) (<-chan client.PutIPNSAsyncResult, error)
Click to show internal directories.
Click to hide internal directories.