package
0.0.0-20200922164111-e3fd3401e6cd
Repository: https://github.com/rhd-gitops-example/gitops-backend.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AuthenticationMiddleware wraps an http.Handler and checks for the presence of an 'Authorization' header with a bearer token.
AuthToken gets the auth token from the context.
NewRouter creates and returns a new APIRouter.
WithAuthToken sets the auth token into the context.

# Variables

DefaultSecretRef is the name looked up if none is provided in the URL.

# Structs

APIRouter is an HTTP API for accessing app configurations.