Documentation ¶
Index ¶
- func CheckMembership(db *mongo.Client) fiber.Handler
- func DecrementTestCount(cfg config.Config, id primitive.ObjectID) error
- func GetAllMethods(cfg config.Config) ([]schema.Method, error)
- func GetAllModels(cfg config.Config) ([]schema.Model, error)
- func GetAuthoredReviews(cfg config.Config, reviews []schema.Review, user schema.User) []schema.AuthoredReview
- func IncrementTestCount(cfg config.Config, id primitive.ObjectID) error
- func RandomString(n int) string
- func SaveMagic(client *redis.Client, mail_address string, magic string) error
- func SendEmail(client *courier.Client, to string, template string, data map[string]string) error
- func UpdateTestCounts(cfg config.Config, old primitive.ObjectID, new primitive.ObjectID) error
- func VerifyMagic(client *redis.Client, mail_address string, magic string) error
- type HumanDate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMembership ¶
func GetAuthoredReviews ¶
func RandomString ¶
func UpdateTestCounts ¶
func VerifyMagic ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.