package
1.3.9
Repository: https://github.com/sphireinc/core.git
Documentation: pkg.go.dev

# Functions

AdminOnly checks if a user is an admin.
BasicAuth checks for basic authentication parameters.
BasicHeaders applies our general headers.
No description provided by the author
HandleResponseJSON handles general responses via JSON.
HeaderFromCtx returns the requested header from the given fasthttp context.
Limiter creates a basic in-memory limiter.
LogRequest provides a log middleware which logs each request.
No description provided by the author
New creates a new App based on Config.
NextRequestID returns the next request id, which is a unix timestamp.
NotFoundServer is the default 404 handler.
ResponseJson creates a body and returns a JSON response.
Status simply returns a 200 OK.
TeaPot is a 418 handler easter egg.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author