Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppError ¶
func AsAppError ¶
func NewAuthenticationError ¶
func NewAuthorizationError ¶
func NewNotFoundError ¶
func NewUnexpectedError ¶
func NewValidationError ¶
type DbConfig ¶
type DbConfig struct { DbType string `mapstructure:"db_type" json:"db_type" yaml:"db_type"` Host string `mapstructure:"host" json:"host" yaml:"host"` Port string `mapstructure:"port" json:"port" yaml:"port"` Config string `mapstructure:"config" json:"config" yaml:"config"` DbName string `mapstructure:"dbname" json:"dbname" yaml:"dbname"` Username string `mapstructure:"username" json:"username" yaml:"username"` Password string `mapstructure:"password" json:"password" yaml:"password"` MaxIdleConns int `mapstructure:"max_idle_connections" json:"max_idle_connections" yaml:"max_idle_connections"` MaxOpenConns int `mapstructure:"max_open_connections" json:"max_open_connections" yaml:"max_open_connections"` }
Click to show internal directories.
Click to hide internal directories.