Documentation ¶
Overview ¶
Package handlers contains the HTTP server along with the requests and routes. All HTTP related functions are in this package.
More info on: https://github.com/hunterlong/statup
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DesktopInit ¶
DesktopInit will run the Statup server on a specific IP and port using SQLite database
func IsAuthenticated ¶
IsAuthenticated returns true if the HTTP request is authenticated. You can set the environment variable GO_ENV=test to bypass the admin authenticate to the dashboard features.
func RunHTTPServer ¶
RunHTTPServer will start a HTTP server on a specific IP and port
Types ¶
type Cacher ¶
type Cacher interface { Get(key string) []byte Delete(key string) Set(key string, content []byte, duration time.Duration) }
var CacheStorage Cacher
type PluginSelect ¶
Click to show internal directories.
Click to hide internal directories.