Documentation ¶
Index ¶
- Variables
- func CheckUserEmail(email string, ctx context.Context) (err error, exist bool)
- func GetAllUserEmails(allUsers *[]User, ctx context.Context) (err error)
- func InitializeMongoConnection(username string, password string, host string, port int, dbname string) *mongoDb.Database
- func InsertUserDetail(user *User, ctx context.Context) (err error)
- func UnsubscribeEmailWithEmailId(email string, updateData map[string]interface{}, ctx context.Context) (err error)
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *mongoDb.Database
Functions ¶
func CheckUserEmail ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.