Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PgConfig ¶
type PgConfig struct { Host string Port int DbName string User string Password string SslMode string FallbackApplicationName string ConnectTimeout int SslCert string SslKey string SslRootCert string }
PgConfig is clean way to generate connection string for postgres
func (PgConfig) ConnectionString ¶
ConnectionString return connection string based on https://godoc.org/github.com/lib/pq#hdr-Connection_String_Parameters
Click to show internal directories.
Click to hide internal directories.