Versions in this module Expand all Collapse all v0 v0.14.2 Feb 26, 2024 v0.14.1 Feb 25, 2024 Changes in this version + type Account struct + func NewAccount(db Database, collection string, response Response, providers ...Provider) *Account + func (a *Account) CreateUserProfile(username, string, group string, provider string, ...) (*Profile, error) + func (a *Account) DeleteUserProfile(userID primitive.ObjectID) error + func (a *Account) Router(r chi.Router) + type Database interface + Operation func(func(ctx context.Context, db *mongo.Database) error) error + type Profile struct + Group string + ID primitive.ObjectID + Username string + type Provider interface + GetName func() string + GetRouter func(r chi.Router) + type Response interface