package
1.1.0
Repository: https://github.com/elliott5/dashboard.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CreateHttpApiHandler creates a new HTTP handler that handles all requests to the API of the backend.
CreateLocaleHandler loads the localization configuration and constructs a LocaleHandler.
FormatRequestLog formats request log string.
FormatResponseLog formats response log string.

# Constants

ConfigTemplate is a template of a config.
ConfigTemplateName is a name of config template.
RequestLogString is a template for request log message.
ResponseLogString is a template for response log message.

# Structs

ApiHandler is a representation of API handler.
AppConfig is a global configuration of application.
LocaleHandler serves different localized versions of the frontend application based on the Accept-Language header.
Localization is a spec for the localization configuration of dashboard.
Translation is a single translation definition spec.

# Type aliases

AppHandler is a application handler.