Documentation
¶
Overview ¶
Package wirelink hands package httpwiretest what an httpwire API was built with, which httpwire keeps off its exported API. Package httpwire sets the functions when it loads; they pass httpwire's own types as any, since this package cannot import httpwire.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Inspect answers what an *httpwire.API was built with. Inspect func(api any) Built // Primary answers an *httpwire.Endpoint's primary success status. Primary func(ep any) int // OwnerProblems answers every refusal Derive makes of an *httpwire.Owner // on its own, the catalog check aside. OwnerProblems func(owner any) []error // Stub answers an httpwire.Binding New accepts for any *httpwire.Endpoint // of its table, whose handler answers internal_error. Stub func(ep any) any // RequestID answers the request id an *httpwire.API answers r under, and // r carrying it, so serving the returned request answers that id. RequestID func(r *http.Request) (out *http.Request, id string) )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.