package
3.0.0+incompatible
Repository: https://github.com/nuts-foundation/nuts-node.git
Documentation: pkg.go.dev

# Functions

Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetPeerDiagnosticsRequest generates requests for GetPeerDiagnostics.
NewGetTransactionPayloadRequest generates requests for GetTransactionPayload.
NewGetTransactionRequest generates requests for GetTransaction.
NewListTransactionsRequest generates requests for ListTransactions.
NewRenderGraphRequest generates requests for RenderGraph.
ParseGetPeerDiagnosticsResponse parses an HTTP response from a GetPeerDiagnosticsWithResponse call.
ParseGetTransactionPayloadResponse parses an HTTP response from a GetTransactionPayloadWithResponse call.
ParseGetTransactionResponse parses an HTTP response from a GetTransactionWithResponse call.
ParseListTransactionsResponse parses an HTTP response from a ListTransactionsWithResponse call.
ParseRenderGraphResponse parses an HTTP response from a RenderGraphWithResponse call.
RegisterHandlers adds each server route to the EchoRouter.
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Structs

Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
HTTPClient holds the server address and other basic settings for the http client.
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts echo contexts to parameters.
Wrapper implements the ServerInterface for the network API.

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration.
No description provided by the author
Doer performs HTTP requests.
No description provided by the author
ServerInterface represents all server handlers.

# Type aliases

ClientOption allows setting custom parameters during construction.
PeerDiagnostics defines the type for diagnostics of a peer.
RequestEditorFn is the function signature for the RequestEditor callback function.