Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardConfigPrinter ¶
Types ¶
type ConfigOptions ¶
type ConfigOptions struct {
MappingFile string
Config *config.Config
ConfigPrinter ConfigPrinter
}
type ConfigPrinter ¶
func JSONConfigPrinter ¶
func JSONConfigPrinter(w io.Writer) ConfigPrinter
func YAMLConfigPrinter ¶
func YAMLConfigPrinter(w io.Writer) ConfigPrinter
type PostgresOptions ¶
type PostgresOptions struct {
PostgresURI string
ReplogConfig *pgxpool.Config
PoolConfig *pgxpool.Config
}
PostgresOptions holds options related to postgres
func (*PostgresOptions) Complete ¶
func (o *PostgresOptions) Complete() error
Complete configures postgres options from a URI if needed Set either URI or the config objects, but not both.
Click to show internal directories.
Click to hide internal directories.