Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { ConfigsDir ConfigsDir ConfigName ConfigName Type ConfigType Logger logx.Logger *viper.Viper }
func (*Config) SetConfigxPath ¶
type ConfigName ¶
type ConfigName string
type ConfigType ¶
type ConfigType string
type ConfigsDir ¶
type ConfigsDir string
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithConfigName ¶
func WithConfigName(ConfigName ConfigName) Option
func WithConfigType ¶
func WithConfigType(ConfigType ConfigType) Option
func WithConfigsDir ¶
func WithConfigsDir(ConfigsDir ConfigsDir) Option
Click to show internal directories.
Click to hide internal directories.