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

# Packages

Package v1 provides primitives to interact with the openapi HTTP API.

# Functions

NewAddNewVerificationMethodRequest generates requests for AddNewVerificationMethod.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewConflictedDIDsRequest generates requests for ConflictedDIDs.
NewCreateDIDRequest calls the generic CreateDID builder with application/json body.
NewCreateDIDRequestWithBody generates requests for CreateDID with any type of body.
NewDeactivateDIDRequest generates requests for DeactivateDID.
NewDeleteVerificationMethodRequest generates requests for DeleteVerificationMethod.
NewGetDIDRequest generates requests for GetDID.
NewUpdateDIDRequest calls the generic UpdateDID builder with application/json body.
NewUpdateDIDRequestWithBody generates requests for UpdateDID with any type of body.
ParseAddNewVerificationMethodResponse parses an HTTP response from a AddNewVerificationMethodWithResponse call.
ParseConflictedDIDsResponse parses an HTTP response from a ConflictedDIDsWithResponse call.
ParseCreateDIDResponse parses an HTTP response from a CreateDIDWithResponse call.
ParseDeactivateDIDResponse parses an HTTP response from a DeactivateDIDWithResponse call.
ParseDeleteVerificationMethodResponse parses an HTTP response from a DeleteVerificationMethodWithResponse call.
ParseGetDIDResponse parses an HTTP response from a GetDIDWithResponse call.
ParseUpdateDIDResponse parses an HTTP response from a UpdateDIDWithResponse 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

No description provided by the author
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
No description provided by the author
DIDCreateRequest defines model for DIDCreateRequest.
DIDResolutionResult defines model for DIDResolutionResult.
DIDUpdateRequest defines model for DIDUpdateRequest.
GetDIDParams defines parameters for GetDID.
No description provided by the author
HTTPClient holds the server address and other basic settings for the http client.
ServerInterfaceWrapper converts echo contexts to parameters.
No description provided by the author
Wrapper is needed to connect the implementation to the echo ServiceWrapper.

# 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.
CreateDIDJSONBody defines parameters for CreateDID.
CreateDIDJSONRequestBody defines body for CreateDID for application/json ContentType.
DIDDocument is an alias.
DIDDocumentMetadata is an alias.
RequestEditorFn is the function signature for the RequestEditor callback function.
UpdateDIDJSONBody defines parameters for UpdateDID.
UpdateDIDJSONRequestBody defines body for UpdateDID for application/json ContentType.