Documentation ¶
Index ¶
Constants ¶
View Source
const ( UsersCollectionName = "users" TokensCollectionName = "tokens" RefreshTokensCollectionName = "refreshTokens" ResPwdReqCollectionName = "resetPasswordRequest" TrainingsCollectionName = "trainings" ExercisesCollectionName = "exercises" )
Variables ¶
This section is empty.
Functions ¶
func CreateCollections ¶
CreateCollections creates mongodb collections
func GetCollection ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.