Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PSQLClient ¶
PSQLClient psql client
func NewPSQLClient ¶
func NewPSQLClient() *PSQLClient
NewPSQLClient returns a new instance of PSQLClient
func (*PSQLClient) CreateUser ¶
func (p *PSQLClient) CreateUser(username, password string) (string, error)
CreateUser creates postgres user
func (*PSQLClient) CreateUserSchema ¶
func (p *PSQLClient) CreateUserSchema(username string) (string, error)
CreateUserSchema creates a schema for the given user
func (*PSQLClient) DropUser ¶
func (p *PSQLClient) DropUser(username string) (string, error)
DropUser drops postgres user
func (*PSQLClient) DropUserSchema ¶
func (p *PSQLClient) DropUserSchema(username string) (string, error)
DropUserSchema drop schema for the given user
Click to show internal directories.
Click to hide internal directories.