go-nuts-client

module
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2024 License: GPL-3.0

README

Golang client library for the Nuts Node

Contains:

  • Generated clients to interact with the Nuts node's internal APIs
    • Discovery
    • Auth
  • An OAuth2 client for interacting with Resource Servers that are secured using Nuts.

Development

The library generates code from the Nuts node's OpenAPI specifications. To regenerate the code, run:

go generate ./...

It uses the oapi-codegen tool to generate the code. To install it, run:

go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@v1.16.3

Directories

Path Synopsis
common
Package common provides primitives to interact with the openapi HTTP API.
Package common provides primitives to interact with the openapi HTTP API.
discovery
Package discovery provides primitives to interact with the openapi HTTP API.
Package discovery provides primitives to interact with the openapi HTTP API.
iam
Package iam provides primitives to interact with the openapi HTTP API.
Package iam provides primitives to interact with the openapi HTTP API.
vcr
Package vcr provides primitives to interact with the openapi HTTP API.
Package vcr provides primitives to interact with the openapi HTTP API.
vdr
Package vdr provides primitives to interact with the openapi HTTP API.
Package vdr provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL