Documentation ¶
Overview ¶
Contains few helpers functions which are used througout the project
Index ¶
Constants ¶
View Source
const HttpmsDir = ".httpms"
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
Returns absolute path. If path is already absolute leave it be. If not join it with relativeRoot
func ProjectRoot ¶
Returns the root directory. This is the place where the app is installed or the place where the source is stored if in development or installed with go get
func ProjectUserPath ¶
Returns the directory in which user files should be stored. Creates it is missing. User files are thing such as sqlite files, logfiles and user configs
func SetUpPidFile ¶
func SetUpPidFile(PidFile string)
Will create the pidfile and it will contain the processid of the current process
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.