Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { Logger LoggerParams `yaml:"logger"` Database DatabaseParams `yaml:"database"` Server ServerParams `yaml:"server"` Queue QueueParams `yaml:"queue"` }
func NewConfig ¶
func NewConfig(configPath string) *Configuration
func (*Configuration) GetDatabasePath ¶
func (cfg *Configuration) GetDatabasePath() string
func (*Configuration) ZapConfigBuilder ¶
func (cfg *Configuration) ZapConfigBuilder() zap.Config
type DatabaseParams ¶
type DatabaseParams struct {
Path string `yaml:"path"`
}
type LoggerParams ¶
type QueueParams ¶
type QueueParams struct {
Path string `yaml:"path"`
}
type ServerParams ¶
Click to show internal directories.
Click to hide internal directories.