server

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0, MIT Imports: 8 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelegatedRoutingAsyncHandler added in v0.2.0

func DelegatedRoutingAsyncHandler(svc DelegatedRoutingService) http.HandlerFunc

Types

type DelegatedRoutingService added in v0.2.0

type DelegatedRoutingService interface {
	FindProviders(ctx context.Context, key cid.Cid) (<-chan client.FindProvidersAsyncResult, error)
	GetIPNS(ctx context.Context, id []byte) (<-chan client.GetIPNSAsyncResult, error)
	PutIPNS(ctx context.Context, id []byte, record []byte) (<-chan client.PutIPNSAsyncResult, error)
	Provide(ctx context.Context, req *client.ProvideRequest) (<-chan client.ProvideAsyncResult, error)
}

Jump to

Keyboard shortcuts

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