Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresConnection ¶
type PostgresConnection struct { Host string `long:"host" description:"hostname of postgres server"` Port int `long:"port" description:"port postgres is running on"` Username string `long:"username" description:"username to connect with"` Password string `long:"password" description:"password for user"` Database string `long:"database" description:"database name"` ApplicationName string `long:"application-name" description:"identify the application to the database using this name"` }
func (PostgresConnection) ToConnectionString ¶
func (conf PostgresConnection) ToConnectionString() string
func (PostgresConnection) ToPgxPoolConfig ¶
func (conf PostgresConnection) ToPgxPoolConfig() (*pgxpool.Config, error)
Click to show internal directories.
Click to hide internal directories.