reframe

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: Apache-2.0, MIT Imports: 20 Imported by: 0

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.FindHandler) *ReframeService

func (*ReframeService) FindProviders

func (x *ReframeService) FindProviders(ctx context.Context, key cid.Cid) (<-chan client.FindProvidersAsyncResult, error)

func (*ReframeService) GetIPNS

func (*ReframeService) Provide

func (*ReframeService) PutIPNS

func (x *ReframeService) PutIPNS(context.Context, []byte, []byte) (<-chan client.PutIPNSAsyncResult, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL