Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSRF ¶
type Configuration ¶
type Configuration struct {
WebServer WebServer `json:"web_server"`
CSRF CSRF `json:"csrf"`
Database PersistentStore `json:"database_storage"`
Statsd Statsd `json:"statsd_emitter"`
}
func (Configuration) String ¶
func (c Configuration) String() string
type DSN ¶
type DSN struct {
User string `json:"user,omitempty"`
Password string `json:"password,omitempty"`
Address string `json:"address,omitempty"`
Database string `json:"database,omitempty"`
Parameters map[string]string `json:"parameters,omitempty"`
ServerPublicKey string `json:"server_public_key,omitempty"`
AllowNativePasswords bool `json:"allow_native_passwords,omitempty"`
}
DSN represents the "data source name" for a database.
type PersistentStore ¶
type Statsd ¶
type Statsd struct {
Agent netservice.Instance `json:"agent"`
}
Click to show internal directories.
Click to hide internal directories.