Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConnectionConfiguration is the connection configuration for connecting to database ConnectionConfiguration pgx.ConnConfig // ConnectionPoolConfiguration is the connection configuration for connecting to database ConnectionPoolConfiguration pgx.ConnPoolConfig // ConnectionPool is connection pool for database ConnectionPool *pgx.ConnPool )
Functions ¶
func UserWithEmailAddressExists ¶
UserWithEmailAddressExists checks if a user already exists with the specified email address
Types ¶
type User ¶
User represents an application user
func CreateUser ¶
CreateUser adds an application user to the database
func GetUserByEmailAddress ¶
GetUserByEmailAddress returns a user for a given input email address
Click to show internal directories.
Click to hide internal directories.