Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EmailVerificationCollection *mongo.Collection
View Source
var FacebookAccountCollection *mongo.Collection
View Source
var FacebookConnectionCollection *mongo.Collection
View Source
var FacebookRegisterCollection *mongo.Collection
View Source
var GoogleAccountCollection *mongo.Collection
View Source
var GoogleConnectionCollection *mongo.Collection
View Source
var GoogleRegisterCollection *mongo.Collection
View Source
var InstagramAccountCollection *mongo.Collection
View Source
var InstagramConnectionCollection *mongo.Collection
View Source
var InstagramRegisterCollection *mongo.Collection
View Source
var LinkedinAccountCollection *mongo.Collection
View Source
var LinkedinConnectionCollection *mongo.Collection
View Source
var LinkedinRegisterCollection *mongo.Collection
View Source
var LoginTokenCollection *mongo.Collection
View Source
var MergeTokenCollection *mongo.Collection
View Source
var PasswordLoginCollection *mongo.Collection
View Source
var PhoneVerificationCollection *mongo.Collection
View Source
var ResetPasswordCollection *mongo.Collection
View Source
var SessionsCollection *mongo.Collection
View Source
var TwitterAccountCollection *mongo.Collection
View Source
var TwitterConnectionCollection *mongo.Collection
View Source
var TwitterRegisterCollection *mongo.Collection
View Source
var TwitterTokenCollection *mongo.Collection
View Source
var UsersCollection *mongo.Collection
Functions ¶
func InitCollections ¶
func InitCollections()
Types ¶
type IPLocation ¶
type IPLocation struct { // The right side is the name of the JSON variable Ip string `json:"ip,omitempty"` CountryCode string `json:"country_code,omitempty"` CountryName string `json:"country_name,omitempty"` RegionCode string `json:"region_code,omitempty"` RegionName string `json:"region_name,omitempty"` City string `json:"city,omitempty"` Zipcode string `json:"zipcode,omitempty"` Lat float32 `json:"latitude,omitempty"` Lon float32 `json:"longitude,omitempty"` MetroCode int `json:"metro_code,omitempty"` AreaCode int `json:"area_code,omitempty"` }
type PasswordLogin ¶
type TwitterResponse ¶
type User ¶
type User struct { ID primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"` LastName string `json:"lastName,omitempty" bson:"lastName,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty" bson:"updatedAt,omitempty"` Email string `json:"email,omitempty" bson:"email,omitempty"` IsActive bool `json:"isActive,omitempty" bson:"isActive,omitempty"` Password string `json:"password,omitempty" bson:"password,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty" bson:"createdAt,omitempty"` FirstName string `json:"firstName,omitempty" bson:"firstName,omitempty"` ChangingEmail string `json:"changingEmail,omitempty" bson:"changingEmail,omitempty"` IsAdmin bool `json:"isAdmin,omitempty" bson:"isAdmin,omitempty"` VerifiedEmail bool `json:"verifiedEmail,omitempty" bson:"verifiedEmail,omitempty"` CountryPhoneCode string `json:"countryPhoneCode,omitempty" bson:"countryPhoneCode,omitempty"` }
Click to show internal directories.
Click to hide internal directories.