Versions in this module Expand all Collapse all v0 v0.1.9 Sep 11, 2018 Changes in this version + type Credentials struct + Password string + Username string + type Identity struct + Type IdentityType + Value string + Verified bool + type IdentityType string + const EmailAddress + const PhoneNumber + type Referral struct + Code string + Created time.Time + ID bson.ObjectId + Remaining int + Requester string + type ReferralRequest struct + Count int + Key string + Limit int + RequestedBy string + type ReferralResponse struct + RefCodes []string + func (r *ReferralResponse) Read(body io.ReadCloser) error + type Registration struct + Identity *Identity + Password string + Referral string + Username string + type Response struct + Error *string + Id *string + Session *Session + Status int + func (r *Response) Read(body io.ReadCloser) error + type Session struct + AccessToken string + ExpiresAt int64 + RefreshExpiresAt int64 + RefreshToken string + SubjectId string + TokenType string + type User struct + Created time.Time + ID bson.ObjectId + Identities []Identity + LastSeen time.Time + Password string + Username string