mirror of https://github.com/tidwall/tile38.git
26 lines
646 B
Go
26 lines
646 B
Go
package core
|
|
|
|
// DevMode puts application in to dev mode
|
|
var DevMode = false
|
|
|
|
// ShowDebugMessages allows for log.Debug to print to console.
|
|
var ShowDebugMessages = false
|
|
|
|
// ProtectedMode forces Tile38 to default in protected mode.
|
|
var ProtectedMode = true
|
|
|
|
// AppendOnly allows for disabling the appendonly file.
|
|
var AppendOnly = true
|
|
|
|
// AppendFileName allows for custom appendonly file path
|
|
var AppendFileName string
|
|
|
|
// QueueFileName allows for custom queue.db file path
|
|
var QueueFileName string
|
|
|
|
// NumThreads is the number of network threads to use.
|
|
var NumThreads int
|
|
|
|
// Evio set the networking to use the evio package.
|
|
var Evio = false
|