modulepackage
0.0.0-20240924074352-970a413a8b04
Repository: https://github.com/shoekstra/go-dbmanager.git
Documentation: pkg.go.dev
# README
go-dbmanager
A Go library for handling database and database-user life cycles.
# Packages
No description provided by the author
# Functions
New creates a new Manager instance based on the provided engine.
QuoteIdentifier quotes an "identifier" (e.g.
WithDatabase sets the database in the connection configuration.
WithHost sets the host in the connection configuration.
WithPassword sets the password in the connection configuration.
WithPort sets the port in the connection configuration.
WithSSL sets the SSL flag in the connection configuration.
WithUsername sets the username in the connection configuration.
# Structs
Connection represents the configuration for establishing a connection.
Database represents the configuration for creating a database.
DefaultPrivilege contains the default privileges in a database for a user or role.
Grant represents a set of permissions granted to a user.
User represents the configuration for creating a user.
UserOptions represents the configuration for creating a user.