Documentation ¶
Overview ¶
package app stores global consts for other packages to use
Index ¶
Constants ¶
View Source
const ( AppName = "biblioteka" DBDir = "." // the db file is stored in the same dir as the go program entry point UniqueDelim = "|*|" // a unique delimiter for strings JWTCookieName = "biblioteka-jwt" Port = ":3000" // the port the program listens on )
Variables ¶
View Source
var ( Host string JWTKeyPath string )
Functions ¶
func ReadHostname ¶
func ReadHostname()
func SetJWTKeyPath ¶
func SetJWTKeyPath()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.