Documentation ¶
Index ¶
Constants ¶
View Source
const ( DB_NAME = "goauth" USER_COLLECTION = "users" AUDITLOG_COLLECTION = "auditlog" )
Variables ¶
View Source
var ( ProjUserOnly = bson.M{ "_id": 1, "passwordHash": 1, "consecutiveFailedLoginAttempts": 1, "lockedOutUntil": 1, "lastLoginDate": 1, } ProjUserWithSpecificContact = bson.M{ "_id": 1, "passwordHash": 1, "consecutiveFailedLoginAttempts": 1, "lockedOutUntil": 1, "lastLoginDate": 1, "contacts.$": 1, } )
View Source
var (
ProjContactOnly = bson.M{
"id": 1,
"name": 1,
"principal": 1,
"rawPrincipal": 1,
"type": 1,
"isPrimary": 1,
"confirmedDate": 1,
}
)
Functions ¶
func NewAuditLogRepo ¶
func NewUserRepo ¶
func NewUserRepoWithNames ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.