package
0.4.3
Repository: https://github.com/wealdtech/comptrollerd.git
Documentation: pkg.go.dev

# Functions

New creates a new service.
WithCACert sets the bytes of the certificate authority TLS certificate.
WithClientCert sets the bytes of the client TLS certificate.
WithClientKey sets the bytes of the client TLS key.
WithLogLevel sets the log level for the module.
WithMaxConnections sets the maximum number of connections for the database pool.
WithPassword sets the password for this module.
WithPort sets the port for this module.
WithServer sets the server for this module.
WithUser sets the user for this module.

# Variables

ErrNoTransaction is returned when an attempt to carry out a mutation to the database is not inside a transaction.

# Structs

Service is a comptroller database service.
Tx is a context tag for the database transaction.
TxID is a context tag for the transaction TxID.

# Interfaces

Parameter is the interface for service parameters.