package
module
Version:
v0.0.0-...-4ce15e1
Opens a new window with list of versions in this module.
Published: Mar 15, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ClaimedEntry struct {
EntryID uuid.UUID `json:"entryId"`
Name string `json:"name"`
SentByUserID uuid.UUID `json:"sentByUserId"`
SentToEmail string `json:"sentToEmail"`
ClaimedAtUTC time.Time `json:"claimedAtUtc"`
}
type Entry struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
SentByUserID uuid.UUID `json:"sentByUserId"`
SentToEmail string `json:"sentToEmail"`
Nonce []byte `json:"-"`
Value []byte `json:"-"`
InvalidAttempts int `json:"invalidAttempts"`
CreatedAtUTC time.Time `json:"createdAtUtc"`
ExpiresAtUTC time.Time `json:"expiresAtUtc"`
}
type ExpiredEntry struct {
EntryID uuid.UUID `json:"entryId"`
Name string `json:"name"`
SentByUserID uuid.UUID `json:"sentByUserId"`
SentToEmail string `json:"sentToEmail"`
TooManyAttempts bool `json:"tooManyAttempts"`
ExpiredAtUTC time.Time `json:"expiredAtUtc"`
}
type RefreshToken struct {
ID uuid.UUID `json:"id"`
UserID uuid.UUID `json:"userId"`
Token string `json:"token"`
CreatedAtUTC time.Time `json:"createdAtUtc"`
ExpiresAtUTC time.Time `json:"expiresAtUtc"`
}
type User struct {
ID uuid.UUID `json:"id"`
Email string `json:"email"`
EmailVerified bool `json:"emailVerified"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Password string `json:"-"`
CreatedAtUTC time.Time `json:"createdAtUtc"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.