Categorygithub.com/cloudtrust/httpclient
modulepackage
1.2.0
Repository: https://github.com/cloudtrust/httpclient.git
Documentation: pkg.go.dev

# README

Basic http client in go

This repo provides a basic http client in go.

# Functions

CreateQueryPlugins create query parameters with the key values paramKV.
New returns a keycloak client.
NewBasicAuthClient creates a new HTTP client using a basic authentication.
NewBearerAuthClient creates a new HTTP client using a bearer authentication.
No description provided by the author
SetAccessToken creates a plugin to set an access token which is a valid token.
SetAccessTokenE creates a plugin to set an access token.

# Constants

Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.
Constants for error management.

# Structs

Client is the HTTP client.
HTTPError is returned when an error occured while contacting the keycloak instance.
No description provided by the author
Token is JWT token.

# Interfaces

OidcTokenProvider provides OIDC tokens.
RestClient interface.