Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultConfigFile = "config.json"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Postgres ¶
type Postgres struct { DSN string MaxOpenConns int MaxIdleConns int TraceOn bool // contains filtered or unexported fields }
Postgres is the configuration object for Postgres database.
type RootConfig ¶
type RootConfig struct { Server *ServerConfig TerraDB *Postgres // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.