Categorygithub.com/gomuddle/gobaserver
modulepackage
0.0.0-20210930102617-a8560d66ce80
Repository: https://github.com/gomuddle/gobaserver.git
Documentation: pkg.go.dev

# README

gobaserver

# Functions

New creates a new configured Server and returns it.

# Constants

BASIC is the prefix of basic authorization headers.

# Variables

ErrAuthHeaderNotBasic occurs when an authorization header is not basic.
ErrEmptyAuthHeader occurs when an authorization header is empty.
ErrInvalidAuthHeader occurs when an authorization header is invalid.
ErrInvalidCredentials occurs when credentials have been provided to an endpoint that are not known to the server.

# Structs

Credentials are credentials for interacting with the Server.
ErrorResponse represents a response to a failed request.
A Server provides a web interface for interacting with a goba.Goba.