package
0.10.1
Repository: https://github.com/urethramancer/lbapi.git
Documentation: pkg.go.dev

# Functions

Handle walks through its chain of middleware for a web request.

# Constants

StatusAuthFailed means username or password was wrong, or account non-existent.
StatusError is for generic error messages.
StatusNoAccess means the token given does not have access to the requested data.
StatusNoAuth means no or wrong auth token was passed.
StatusNoCredentials means wrong inputs to login.
StatusOK means no problems.

# Variables

Channels are used all over the program.
Version is injected via build flags from git tags.

# Structs

Config is used to parse the main configuration file.
DomainDefaults is a collection of DNS records to create for a domain if the client asks for a setup from scratch.
InfoDump is just that - a collection of information relating to the service.
LogicBoxes API configuration.
Logs hold the names of log files to output to.
Result is returned from many JSON requests.
Security defines password security level and many SSL settings.
Token results from authentication.
Web defines addresses, ports and domains to route.

# Type aliases

No description provided by the author