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) }
Click to show internal directories.
Click to hide internal directories.