Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v1.0.1
func WithPGSQL ¶ added in v1.0.4
func WithPGSQL(options PGSQLOptions) Option
func WithRedisClient ¶ added in v1.0.1
func WithRedisClient(options *redis.Options) Option
func WithViper ¶ added in v1.0.3
func WithViper(options ViperOptions) Option
type PGSQLOptions ¶ added in v1.0.4
type ViperOptions ¶ added in v1.0.3
type ViperOptions struct { Path string // path to look for the config file in, absolute path start with / and relative path start with . FileName string // name of config file (without extension) FileType string // REQUIRED if the config file does not have the extension in the name EnvName string // Env to read from the config file Target any }
Click to show internal directories.
Click to hide internal directories.