type Config struct {
Host string Port string Database string MaxOpenConns uint32 MaxConnLifetime time.Duration MaxConnIdleTime time.DurationUser//Additional options to be appended as options=<Options>//The value will be taken as is. Multiple options are space separated.
Options string
}
type SSL struct {
// type of connection security Mode string// RootCert Path to the CA certificate RootCert string// Cert Path to the client certificate Cert string// Key Path to the client private key Key string
}