Documentation
¶
Index ¶
- type DbConfig
- type DbOptionsConfig
- type FSDbOptionsConfig
- type GitConfig
- type GithubConfig
- type PostgresOptionsConfig
- func (c PostgresOptionsConfig) GetDatabase() string
- func (c PostgresOptionsConfig) GetDriverName() string
- func (c PostgresOptionsConfig) GetHost() string
- func (c PostgresOptionsConfig) GetMigratorPassword() string
- func (c PostgresOptionsConfig) GetMigratorUsername() string
- func (c PostgresOptionsConfig) GetPassword() string
- func (c PostgresOptionsConfig) GetPort() string
- func (c PostgresOptionsConfig) GetSchema() string
- func (c PostgresOptionsConfig) GetUsername() string
- type ServerConfig
- type Ymir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbConfig ¶
type DbConfig struct { Driver string `yaml:"driver"` Options DbOptionsConfig `yaml:"options"` }
type DbOptionsConfig ¶
type DbOptionsConfig struct { FS FSDbOptionsConfig `yaml:"fs"` Postgres PostgresOptionsConfig `yaml:"postgres"` }
type FSDbOptionsConfig ¶
type FSDbOptionsConfig struct {
Path string `yaml:"path"`
}
type GitConfig ¶
type GitConfig struct {
Github GithubConfig `yaml:"github"`
}
type GithubConfig ¶
type GithubConfig struct {
AccessToken string `yaml:"access_token" split_words:"true"`
}
type PostgresOptionsConfig ¶
type PostgresOptionsConfig struct { User string `yaml:"user"` Password string `yaml:"password"` MigratorUser string `yaml:"migrator_user" split_words:"true"` MigratorPassword string `yaml:"migrator_password" split_words:"true"` Database string `yaml:"db"` Schema string `yaml:"schema"` Host string `yaml:"host"` Port string `yaml:"port"` }
func (PostgresOptionsConfig) GetDatabase ¶
func (c PostgresOptionsConfig) GetDatabase() string
func (PostgresOptionsConfig) GetDriverName ¶
func (c PostgresOptionsConfig) GetDriverName() string
func (PostgresOptionsConfig) GetHost ¶
func (c PostgresOptionsConfig) GetHost() string
func (PostgresOptionsConfig) GetMigratorPassword ¶
func (c PostgresOptionsConfig) GetMigratorPassword() string
func (PostgresOptionsConfig) GetMigratorUsername ¶
func (c PostgresOptionsConfig) GetMigratorUsername() string
func (PostgresOptionsConfig) GetPassword ¶
func (c PostgresOptionsConfig) GetPassword() string
func (PostgresOptionsConfig) GetPort ¶
func (c PostgresOptionsConfig) GetPort() string
func (PostgresOptionsConfig) GetSchema ¶
func (c PostgresOptionsConfig) GetSchema() string
func (PostgresOptionsConfig) GetUsername ¶
func (c PostgresOptionsConfig) GetUsername() string
type ServerConfig ¶
type ServerConfig struct {
Port string `yaml:"port"`
}
type Ymir ¶
type Ymir struct { Server ServerConfig `yaml:"server"` Db DbConfig `yaml:"db"` Git GitConfig `yaml:"git"` }
Click to show internal directories.
Click to hide internal directories.