github.com/decred/dcrlnd@v0.7.6/kvdb/postgres/config.go (about)

     1  package postgres
     2  
     3  import "time"
     4  
     5  // Config holds postgres configuration data.
     6  type Config struct {
     7  	Dsn            string        `long:"dsn" description:"Database connection string."`
     8  	Timeout        time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`
     9  	MaxConnections int           `long:"maxconnections" description:"The maximum number of open connections to the database. Set to zero for unlimited."`
    10  }