Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Postgres PostgresConfig `yaml:"postgres"` DefaultUser DefaultUserConfig `yaml:"defaultuser"` Login LoginConfig `yaml:"login"` Server ServerConfig `yaml:"server"` }
type DefaultUserConfig ¶
type DefaultUserConfig struct { Username string `yaml:"username"` Password string `yaml:"password"` }
DefaultUserConfig a default admin user which will be created during database initialization stage when the service startsup for the first time. We recommend changing the password asap
type LoginConfig ¶
type PostgresConfig ¶
type ServerConfig ¶
type ServerConfig struct {
Port int `yaml:"port"`
}
Click to show internal directories.
Click to hide internal directories.