Documentation
¶
Index ¶
- func CheckEmail(client *mongo.Client, req *proto.CheckEmailRequest) bool
- func CreateSession(client *mongo.Client, req *proto.CreateSessionRequest) (string, error)
- func DeleteSession(client *mongo.Client, req *proto.DeleteSessionRequest) error
- func FlushSessions(client *mongo.Client, req *proto.FlushSessionsRequest) error
- func Init(client *mongo.Client) error
- func ValidateEmail(client *mongo.Client, req *proto.ValidateEmailRequest) error
- type Session
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckEmail ¶
func CheckEmail(client *mongo.Client, req *proto.CheckEmailRequest) bool
func CreateSession ¶
func DeleteSession ¶
func DeleteSession(client *mongo.Client, req *proto.DeleteSessionRequest) error
func FlushSessions ¶
func FlushSessions(client *mongo.Client, req *proto.FlushSessionsRequest) error
func ValidateEmail ¶
func ValidateEmail(client *mongo.Client, req *proto.ValidateEmailRequest) error
Types ¶
Click to show internal directories.
Click to hide internal directories.