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

# Packages

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
No description provided by the author

# Functions

AddQueryParams adds the given params to the given url as query params.
DefaultConfig returns the default configuration for the HTTP engine.
New returns a new HTTP engine.
NewMockEchoServer creates a new mock instance.
NewMultiEcho creates a new MultiEcho which uses the given function to create core.EchoServers.

# Constants

BearerTokenAuth specifies that a legacy bearer token (v1) authentication is in use.
BearerTokenAuthV2 specifies the latest version of bearer token authention.
LogMetadataAndBodyLevel indicates that metadata and full request/reply bodies will be logged for incoming/outgoing HTTP traffic.
LogMetadataLevel indicates that only metadata (HTTP URI, method, response code, etc) will be logged for incoming/outgoing HTTP traffic.
LogNothingLevel indicates nothing will be logged for incoming/outgoing HTTP traffic.
RootPath is the path used for routes that don't map to a configured bind.

# Structs

AuthConfig contains the configuration for authentication for an HTTP interface.
Config is the top-level config struct for HTTP interfaces.
Engine is the HTTP engine.
InternalConfig contains the configuration for internal HTTP endpoints.
MockEchoServer is a mock of EchoServer interface.
MockEchoServerMockRecorder is the mock recorder for MockEchoServer.
MultiEcho allows to bind specific URLs to specific HTTP interfaces.
PublicConfig contains the configuration for outside-facing HTTP endpoints.

# Interfaces

EchoServer implements both the EchoRouter interface and Start function to aid testing.

# Type aliases

AuthType defines the type for authentication types constants.
EchoCreator is a function used to create an Echo server.
LogLevel specifies what to log for incoming/outgoing HTTP traffic.