package
Version:
v1.0.4
Opens a new window with list of versions in this module.
Published: Feb 9, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
const (
LevelInfo Level = "info"
LevelWarning Level = "warning"
LevelError Level = "error"
)
type License struct {
ID ID `db:"id" json:"id"`
OrganizationID string `db:"organization_id" json:"organizationId"`
Key string `db:"key" json:"key"`
CreatedAt time.Time `db:"created_at" json:"createdAt"`
ExpiresAt time.Time `db:"expires_at" json:"expiresAt"`
Seats uint64 `db:"seats" json:"seats"`
Status Status `db:"-" json:"status"`
Messages []*Message `db:"-" json:"messages"`
}
type Message struct {
Type Type `json:"type"`
Level Level `json:"level"`
Text string `json:"text"`
}
const (
StatusUnknown Status = "unknown"
StatusValid Status = "valid"
StatusInvalid Status = "invalid"
)
const (
TypeNotification Type = "notification"
TypeBanner Type = "banner"
TypeFullscreen Type = "fullscreen"
)
Source Files
¶
Directories
¶
enterprise
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.