Versions in this module Expand all Collapse all v6 v6.2.13 Sep 22, 2026 v6.2.12 Sep 21, 2026 Changes in this version + const JwtBearerAuthScopes + func NewGetAddressBookRequest(server string) (*http.Request, error) + func NewGetPeerDiagnosticsRequest(server string) (*http.Request, error) + func NewGetTransactionPayloadRequest(server string, ref string) (*http.Request, error) + func NewGetTransactionRequest(server string, ref string) (*http.Request, error) + func NewListEventsRequest(server string) (*http.Request, error) + func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error) + func NewRenderGraphRequest(server string, params *RenderGraphParams) (*http.Request, error) + func NewReprocessRequest(server string, params *ReprocessParams) (*http.Request, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) GetAddressBook(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetPeerDiagnostics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetTransaction(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetTransactionPayload(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListEvents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) ListTransactions(ctx context.Context, params *ListTransactionsParams, ...) (*http.Response, error) + func (c *Client) RenderGraph(ctx context.Context, params *RenderGraphParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) Reprocess(ctx context.Context, params *ReprocessParams, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientInterface interface + GetAddressBook func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetPeerDiagnostics func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + GetTransaction func(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetTransactionPayload func(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*http.Response, error) + ListEvents func(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) + ListTransactions func(ctx context.Context, params *ListTransactionsParams, ...) (*http.Response, error) + RenderGraph func(ctx context.Context, params *RenderGraphParams, reqEditors ...RequestEditorFn) (*http.Response, error) + Reprocess func(ctx context.Context, params *ReprocessParams, reqEditors ...RequestEditorFn) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) GetAddressBookWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAddressBookResponse, error) + func (c *ClientWithResponses) GetPeerDiagnosticsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPeerDiagnosticsResponse, error) + func (c *ClientWithResponses) GetTransactionPayloadWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetTransactionPayloadResponse, error) + func (c *ClientWithResponses) GetTransactionWithResponse(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetTransactionResponse, error) + func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEventsResponse, error) + func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, ...) (*ListTransactionsResponse, error) + func (c *ClientWithResponses) RenderGraphWithResponse(ctx context.Context, params *RenderGraphParams, reqEditors ...RequestEditorFn) (*RenderGraphResponse, error) + func (c *ClientWithResponses) ReprocessWithResponse(ctx context.Context, params *ReprocessParams, reqEditors ...RequestEditorFn) (*ReprocessResponse, error) + type ClientWithResponsesInterface interface + GetAddressBookWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetAddressBookResponse, error) + GetPeerDiagnosticsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*GetPeerDiagnosticsResponse, error) + GetTransactionPayloadWithResponse func(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetTransactionPayloadResponse, error) + GetTransactionWithResponse func(ctx context.Context, ref string, reqEditors ...RequestEditorFn) (*GetTransactionResponse, error) + ListEventsWithResponse func(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEventsResponse, error) + ListTransactionsWithResponse func(ctx context.Context, params *ListTransactionsParams, ...) (*ListTransactionsResponse, error) + RenderGraphWithResponse func(ctx context.Context, params *RenderGraphParams, reqEditors ...RequestEditorFn) (*RenderGraphResponse, error) + ReprocessWithResponse func(ctx context.Context, params *ReprocessParams, reqEditors ...RequestEditorFn) (*ReprocessResponse, error) + type Contact struct + Address string + Attempts int + Did *string + Error *string + LastAttempt *time.Time + NextAttempt *time.Time + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type Event struct + Error *string + Hash string + LatestNotificationAttempt *string + Retries int + Transaction string + Type *string + type EventSubscriber struct + Events []Event + Name string + type GetAddressBook200JSONResponse []Contact + func (response GetAddressBook200JSONResponse) VisitGetAddressBookResponse(w http.ResponseWriter) error + type GetAddressBookRequestObject struct + type GetAddressBookResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *[]Contact + func ParseGetAddressBookResponse(rsp *http.Response) (*GetAddressBookResponse, error) + func (r GetAddressBookResponse) Status() string + func (r GetAddressBookResponse) StatusCode() int + type GetAddressBookResponseObject interface + VisitGetAddressBookResponse func(w http.ResponseWriter) error + type GetPeerDiagnostics200JSONResponse map[string]PeerDiagnostics + func (response GetPeerDiagnostics200JSONResponse) VisitGetPeerDiagnosticsResponse(w http.ResponseWriter) error + type GetPeerDiagnosticsRequestObject struct + type GetPeerDiagnosticsResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *map[string]PeerDiagnostics + func ParseGetPeerDiagnosticsResponse(rsp *http.Response) (*GetPeerDiagnosticsResponse, error) + func (r GetPeerDiagnosticsResponse) Status() string + func (r GetPeerDiagnosticsResponse) StatusCode() int + type GetPeerDiagnosticsResponseObject interface + VisitGetPeerDiagnosticsResponse func(w http.ResponseWriter) error + type GetPeerDiagnosticsdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response GetPeerDiagnosticsdefaultApplicationProblemPlusJSONResponse) VisitGetPeerDiagnosticsResponse(w http.ResponseWriter) error + type GetTransaction200ApplicationjoseResponse struct + Body io.Reader + ContentLength int64 + func (response GetTransaction200ApplicationjoseResponse) VisitGetTransactionResponse(w http.ResponseWriter) error + type GetTransactionPayload200ApplicationoctetStreamResponse struct + Body io.Reader + ContentLength int64 + func (response GetTransactionPayload200ApplicationoctetStreamResponse) VisitGetTransactionPayloadResponse(w http.ResponseWriter) error + type GetTransactionPayloadRequestObject struct + Ref string + type GetTransactionPayloadResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseGetTransactionPayloadResponse(rsp *http.Response) (*GetTransactionPayloadResponse, error) + func (r GetTransactionPayloadResponse) Status() string + func (r GetTransactionPayloadResponse) StatusCode() int + type GetTransactionPayloadResponseObject interface + VisitGetTransactionPayloadResponse func(w http.ResponseWriter) error + type GetTransactionPayloaddefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response GetTransactionPayloaddefaultApplicationProblemPlusJSONResponse) VisitGetTransactionPayloadResponse(w http.ResponseWriter) error + type GetTransactionRequestObject struct + Ref string + type GetTransactionResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseGetTransactionResponse(rsp *http.Response) (*GetTransactionResponse, error) + func (r GetTransactionResponse) Status() string + func (r GetTransactionResponse) StatusCode() int + type GetTransactionResponseObject interface + VisitGetTransactionResponse func(w http.ResponseWriter) error + type GetTransactiondefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response GetTransactiondefaultApplicationProblemPlusJSONResponse) VisitGetTransactionResponse(w http.ResponseWriter) error + type HTTPClient struct + TokenGenerator core.AuthorizationTokenGenerator + func (hb HTTPClient) GetPeerDiagnostics() (map[transport.PeerID]PeerDiagnostics, error) + func (hb HTTPClient) GetTransaction(transactionRef hash.SHA256Hash) (dag.Transaction, error) + func (hb HTTPClient) GetTransactionPayload(transactionRef hash.SHA256Hash) ([]byte, error) + func (hb HTTPClient) ListTransactions(params *ListTransactionsParams) ([]dag.Transaction, error) + func (hb HTTPClient) Reprocess(contentType string) error + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ListEvents200JSONResponse []EventSubscriber + func (response ListEvents200JSONResponse) VisitListEventsResponse(w http.ResponseWriter) error + type ListEventsRequestObject struct + type ListEventsResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *[]EventSubscriber + func ParseListEventsResponse(rsp *http.Response) (*ListEventsResponse, error) + func (r ListEventsResponse) Status() string + func (r ListEventsResponse) StatusCode() int + type ListEventsResponseObject interface + VisitListEventsResponse func(w http.ResponseWriter) error + type ListEventsdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response ListEventsdefaultApplicationProblemPlusJSONResponse) VisitListEventsResponse(w http.ResponseWriter) error + type ListTransactions200JSONResponse []string + func (response ListTransactions200JSONResponse) VisitListTransactionsResponse(w http.ResponseWriter) error + type ListTransactionsParams struct + End *int + Start *int + type ListTransactionsRequestObject struct + Params ListTransactionsParams + type ListTransactionsResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + JSON200 *[]string + func ParseListTransactionsResponse(rsp *http.Response) (*ListTransactionsResponse, error) + func (r ListTransactionsResponse) Status() string + func (r ListTransactionsResponse) StatusCode() int + type ListTransactionsResponseObject interface + VisitListTransactionsResponse func(w http.ResponseWriter) error + type ListTransactionsdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response ListTransactionsdefaultApplicationProblemPlusJSONResponse) VisitListTransactionsResponse(w http.ResponseWriter) error + type PeerDiagnostics transport.Diagnostics + func (p *PeerDiagnostics) UnmarshalJSON(bytes []byte) error + func (p PeerDiagnostics) MarshalJSON() ([]byte, error) + type RenderGraph200TextvndGraphvizResponse struct + Body io.Reader + ContentLength int64 + func (response RenderGraph200TextvndGraphvizResponse) VisitRenderGraphResponse(w http.ResponseWriter) error + type RenderGraphParams struct + End *int + Start *int + type RenderGraphRequestObject struct + Params RenderGraphParams + type RenderGraphResponse struct + ApplicationproblemJSONDefault ... + Body []byte + HTTPResponse *http.Response + func ParseRenderGraphResponse(rsp *http.Response) (*RenderGraphResponse, error) + func (r RenderGraphResponse) Status() string + func (r RenderGraphResponse) StatusCode() int + type RenderGraphResponseObject interface + VisitRenderGraphResponse func(w http.ResponseWriter) error + type RenderGraphdefaultApplicationProblemPlusJSONResponse struct + Body struct{ ... } + StatusCode int + func (response RenderGraphdefaultApplicationProblemPlusJSONResponse) VisitRenderGraphResponse(w http.ResponseWriter) error + type Reprocess202Response struct + func (response Reprocess202Response) VisitReprocessResponse(w http.ResponseWriter) error + type ReprocessParams struct + Type *string + type ReprocessRequestObject struct + Params ReprocessParams + type ReprocessResponse struct + Body []byte + HTTPResponse *http.Response + func ParseReprocessResponse(rsp *http.Response) (*ReprocessResponse, error) + func (r ReprocessResponse) Status() string + func (r ReprocessResponse) StatusCode() int + type ReprocessResponseObject interface + VisitReprocessResponse func(w http.ResponseWriter) error + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ServerInterface interface + GetAddressBook func(ctx echo.Context) error + GetPeerDiagnostics func(ctx echo.Context) error + GetTransaction func(ctx echo.Context, ref string) error + GetTransactionPayload func(ctx echo.Context, ref string) error + ListEvents func(ctx echo.Context) error + ListTransactions func(ctx echo.Context, params ListTransactionsParams) error + RenderGraph func(ctx echo.Context, params RenderGraphParams) error + Reprocess func(ctx echo.Context, params ReprocessParams) error + func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) GetAddressBook(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetPeerDiagnostics(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetTransaction(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetTransactionPayload(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ListEvents(ctx echo.Context) error + func (w *ServerInterfaceWrapper) ListTransactions(ctx echo.Context) error + func (w *ServerInterfaceWrapper) RenderGraph(ctx echo.Context) error + func (w *ServerInterfaceWrapper) Reprocess(ctx echo.Context) error + type StrictHandlerFunc = strictecho.StrictEchoHandlerFunc + type StrictMiddlewareFunc = strictecho.StrictEchoMiddlewareFunc + type StrictServerInterface interface + GetAddressBook func(ctx context.Context, request GetAddressBookRequestObject) (GetAddressBookResponseObject, error) + GetPeerDiagnostics func(ctx context.Context, request GetPeerDiagnosticsRequestObject) (GetPeerDiagnosticsResponseObject, error) + GetTransaction func(ctx context.Context, request GetTransactionRequestObject) (GetTransactionResponseObject, error) + GetTransactionPayload func(ctx context.Context, request GetTransactionPayloadRequestObject) (GetTransactionPayloadResponseObject, error) + ListEvents func(ctx context.Context, request ListEventsRequestObject) (ListEventsResponseObject, error) + ListTransactions func(ctx context.Context, request ListTransactionsRequestObject) (ListTransactionsResponseObject, error) + RenderGraph func(ctx context.Context, request RenderGraphRequestObject) (RenderGraphResponseObject, error) + Reprocess func(ctx context.Context, request ReprocessRequestObject) (ReprocessResponseObject, error) + type Wrapper struct + Service network.Transactions + func (a *Wrapper) GetAddressBook(_ context.Context, _ GetAddressBookRequestObject) (GetAddressBookResponseObject, error) + func (a *Wrapper) GetPeerDiagnostics(_ context.Context, _ GetPeerDiagnosticsRequestObject) (GetPeerDiagnosticsResponseObject, error) + func (a *Wrapper) GetTransaction(_ context.Context, request GetTransactionRequestObject) (GetTransactionResponseObject, error) + func (a *Wrapper) GetTransactionPayload(_ context.Context, request GetTransactionPayloadRequestObject) (GetTransactionPayloadResponseObject, error) + func (a *Wrapper) ListTransactions(_ context.Context, request ListTransactionsRequestObject) (ListTransactionsResponseObject, error) + func (a *Wrapper) ResolveStatusCode(err error) int + func (a *Wrapper) Routes(router core.EchoRouter) + func (a Wrapper) ListEvents(_ context.Context, _ ListEventsRequestObject) (ListEventsResponseObject, error) + func (a Wrapper) RenderGraph(_ context.Context, request RenderGraphRequestObject) (RenderGraphResponseObject, error) + func (a Wrapper) Reprocess(_ context.Context, request ReprocessRequestObject) (ReprocessResponseObject, error) Other modules containing this package github.com/nuts-foundation/nuts-node github.com/nuts-foundation/nuts-node/v5