Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { DatabaseUsername string DatabasePassword string DatabaseName string DatabaseHost string DatabaseMaxIdleConns uint64 DatabaseMaxOpenConns uint64 DatabaseMaxConnLifetime uint64 OpenDBFunc func() (DB, error) Port uint }
func NewConfigFromCliContext ¶
NewConfigFromCliContext creates a new config instance from command line flags.
Click to show internal directories.
Click to hide internal directories.