Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgres ¶
type Postgres struct { // Name of the core storage Name string `json:"name" yaml:"name" hcl:"name,label"` // Host value Host string `json:"host" yaml:"host" hcl:"host"` // Port value Port int `json:"port" yaml:"port" hcl:"port"` // Username value Username string `json:"username" yaml:"username" hcl:"username"` // Password value Password string `json:"password" yaml:"password" hcl:"password"` // Database value Database string `json:"database" yaml:"database" hcl:"database"` // SSLMode value SSLMode string `json:"sslMode" yaml:"sslMode" hcl:"sslMode,optional"` // SSLCertPath value SSLCertPath string `json:"sslCertPath" yaml:"sslCertPath" hcl:"sslCertPath,optional"` // Timeout value Timeout int `json:"timeout" yaml:"timeout" hcl:"timeout,optional"` // TableAlerts is config for Alerts table TableAlerts tables.TableAlerts `json:"tableAlerts" yaml:"tableAlerts" hcl:"tableAlerts,block"` // TableKV is config for KV table TableKV tables.TableKV `json:"tableKV" yaml:"tableKV" hcl:"tableKV,block"` }
Postgres core storage config
Click to show internal directories.
Click to hide internal directories.