Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { sync.Once Resolver Namesys ResolverFailures NamesysErrors // contains filtered or unexported fields }
API implementation of an API backing a gateway.
func (*API) FetcherForSession ¶
func (m *API) FetcherForSession(*ipld.LinkSystem) fetcher.Fetcher
FetcherForSession requests
func (*API) NewSession ¶
NewSession requests a link system that can be used for the duration of a given request context. The link system returned should be consistent for the life of the context - CIDs which have at some point been accessible to the link system at some point during the session are expected to continue to be available for the duration of the session.
type NamesysErrors ¶
NamesysErrors allows for explicit name resolution failures
Click to show internal directories.
Click to hide internal directories.