Documentation
¶
Index ¶
Constants ¶
const ( DATABASE_TYPE_DEFAULT = "memory" HTTP_PORT_DEFAULT = 8080 // Port 8080 )
Variables ¶
This section is empty.
Functions ¶
func InitServer ¶
The config should contain following keys: runners.queuesize: Max number of jobs in the queue (default 10) runners.nbrunners: Max number of parallel running jobs (default 1) runners.timeout for each running job in Seconds (default 0=unlimited) runners.jobthreads : Number of cpus per bootstrap runner database.type: mysql or memory (default memory) database.user: user to connect to mysql if type is mysql database.host: host to connect to mysql if type is mysql database.port: port to connect to mysql if type is mysql database.pass: pass to connect to mysql if type is mysql database.dbname: name of db to connect to mysql if type is mysql logging.logfile : path to log file: stdout, stderr or any file name (default stderr)
Types ¶
type MarkDownPage ¶
type MarkDownPage struct {
Md string
}