Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Database represents the database configuration.
Database *database.Database `mapstructure:"database" yaml:"database" json:"database" toml:"database"`
// Pac represents the pac configuration.
Pac *pac.Pac `mapstructure:"pac" yaml:"pac" json:"pac" toml:"pac"`
// Server represents the server configuration.
Server *server.Server `mapstructure:"server" yaml:"server" json:"server" toml:"server"`
}
Config represents the configuration of the application
func Initialize ¶
Initialize returns the configuration of the application.
func (*Config) GetDatabase ¶
GetDatabase returns the database configuration.
Click to show internal directories.
Click to hide internal directories.