package
4.3.1+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.
NewCreateVPRequest calls the generic CreateVP builder with application/json body.
NewCreateVPRequestWithBody generates requests for CreateVP with any type of body.
NewIssueVCRequest calls the generic IssueVC builder with application/json body.
NewIssueVCRequestWithBody generates requests for IssueVC with any type of body.
NewListTrustedRequest generates requests for ListTrusted.
NewListUntrustedRequest generates requests for ListUntrusted.
NewResolveVCRequest generates requests for ResolveVC.
NewRevokeVCRequest generates requests for RevokeVC.
NewSearchIssuedVCsRequest generates requests for SearchIssuedVCs.
NewSearchVCsRequest calls the generic SearchVCs builder with application/json body.
NewSearchVCsRequestWithBody generates requests for SearchVCs with any type of body.
NewTrustIssuerRequest calls the generic TrustIssuer builder with application/json body.
NewTrustIssuerRequestWithBody generates requests for TrustIssuer with any type of body.
NewUntrustIssuerRequest calls the generic UntrustIssuer builder with application/json body.
NewUntrustIssuerRequestWithBody generates requests for UntrustIssuer with any type of body.
NewVerifyVCRequest calls the generic VerifyVC builder with application/json body.
NewVerifyVCRequestWithBody generates requests for VerifyVC with any type of body.
NewVerifyVPRequest calls the generic VerifyVP builder with application/json body.
NewVerifyVPRequestWithBody generates requests for VerifyVP with any type of body.
ParseCreateVPResponse parses an HTTP response from a CreateVPWithResponse call.
ParseIssueVCResponse parses an HTTP response from a IssueVCWithResponse call.
ParseListTrustedResponse parses an HTTP response from a ListTrustedWithResponse call.
ParseListUntrustedResponse parses an HTTP response from a ListUntrustedWithResponse call.
ParseResolveVCResponse parses an HTTP response from a ResolveVCWithResponse call.
ParseRevokeVCResponse parses an HTTP response from a RevokeVCWithResponse call.
ParseSearchIssuedVCsResponse parses an HTTP response from a SearchIssuedVCsWithResponse call.
ParseSearchVCsResponse parses an HTTP response from a SearchVCsWithResponse call.
ParseTrustIssuerResponse parses an HTTP response from a TrustIssuerWithResponse call.
ParseUntrustIssuerResponse parses an HTTP response from a UntrustIssuerWithResponse call.
ParseVerifyVCResponse parses an HTTP response from a VerifyVCWithResponse call.
ParseVerifyVPResponse parses an HTTP response from a VerifyVPWithResponse 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.
A request for creating a new Verifiable Presentation for a set of Verifiable Credentials.
No description provided by the author
CredentialIssuer defines model for CredentialIssuer.
HTTPClient holds the server address and other basic settings for the http client.
A request for issuing a new Verifiable Credential.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SearchIssuedVCsParams defines parameters for SearchIssuedVCs.
No description provided by the author
SearchOptions defines model for SearchOptions.
SearchVCQuery defines a less strict VerifiableCredential struct without proof which can be used to search for VerifiableCredentials.
SearchVCRequest is the request body for searching VCs.
result of a Search operation.
result of a Search operation.
No description provided by the author
ServerInterfaceWrapper converts echo contexts to parameters.
No description provided by the author
No description provided by the author
VCVerificationOptions defines model for VCVerificationOptions.
VCVerificationRequest defines model for VCVerificationRequest.
Contains the verifiable credential verification result.
No description provided by the author
No description provided by the author
VPVerificationRequest defines model for VPVerificationRequest.
Contains the verifiable presentation verification result.
Wrapper implements the generated interface from oapi-codegen It parses and checks the params.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
CredentialSubject is an alias to use from within the API.
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.
CreateVPJSONBody defines parameters for CreateVP.
CreateVPJSONRequestBody defines body for CreateVP for application/json ContentType.
DID is an alias to use from within the API.
IssueVCJSONBody defines parameters for IssueVC.
IssueVCJSONRequestBody defines body for IssueVC for application/json ContentType.
When publishToNetwork is true, the credential can be published publicly or privately to the holder.
RequestEditorFn is the function signature for the RequestEditor callback function.
Revocation is an alias to use from within the API.
SearchVCsJSONBody defines parameters for SearchVCs.
SearchVCsJSONRequestBody defines body for SearchVCs for application/json ContentType.
TrustIssuerJSONBody defines parameters for TrustIssuer.
TrustIssuerJSONRequestBody defines body for TrustIssuer for application/json ContentType.
UntrustIssuerJSONBody defines parameters for UntrustIssuer.
UntrustIssuerJSONRequestBody defines body for UntrustIssuer for application/json ContentType.
VerifiableCredential is an alias to use from within the API.
VerifiablePresentation is an alias to use from within the API.
VerifyVCJSONBody defines parameters for VerifyVC.
VerifyVCJSONRequestBody defines body for VerifyVC for application/json ContentType.
VerifyVPJSONBody defines parameters for VerifyVP.
VerifyVPJSONRequestBody defines body for VerifyVP for application/json ContentType.