Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PublishableApiKey ¶
type PublishableApiKey struct {
mixin.Model[PublishableApiKey]
Title string `json:"title"`
Type KeyType `json:"type"`
Token string `json:"-"`
Salt string `json:"-"`
Redacted string `json:"redacted"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
RevokedAt *time.Time `json:"revokedAt,omitempty"`
RevokedBy string `json:"revokedBy"`
}
func New ¶
func New(db *datastore.Datastore) *PublishableApiKey
Click to show internal directories.
Click to hide internal directories.