Documentation ¶
Index ¶
Constants ¶
View Source
const ( KiloByte = 1024.0 MegaByte = 1024 * KiloByte GigaByte = 1024 * MegaByte TeraByte = 1024 * GigaByte )
Exported values
Variables ¶
This section is empty.
Functions ¶
func DetectScheme ¶
DetectScheme allows to detect the scheme of a request
func InitAssetsTemplates ¶
InitAssetsTemplates initializes the router to use either a ricebox or the filesystem in case the ricebox couldn't be found.
func ServerName ¶
func ServerName() string
ServerName returns the configured hostname (and port) of the server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.