Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMap ¶
type ConfigMap struct { DbName string `validate:"required"` // name of database to connect to DbHost string `validate:"required"` // database server hostname DbUser string `validate:"required"` // database user to connect as Password string `validate:"required"` // password of database user SSLMode string `validate:"required"` // ssl mode to use when connecting to database SSLCertFile string `validate:"required"` // .crt file to use for ssl SSLKeyFile string `validate:"required"` // .key file to use for ssl SSLKeyFilePassPhrase string `validate:"required"` // passphrase for .key file SSLCAFile string `validate:"required"` // CA authority to trust SSLHostname string `validate:"required"` // expected hostname on certificate the database server will present ServerPort uint16 `validate:"required"` // port on which to serve the gRPC server on DbPort uint16 `validate:"required"` // port on which to connect to database server on MaxConns uint8 `validate:"required"` // max connections to the database }
ConfigMap holds configuration data
Click to show internal directories.
Click to hide internal directories.