Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Row ¶
type Row struct {
Name string `json:"name"`
Admin bool `json:"admin"`
Plan string `json:"plan"`
Disabled bool `json:"disabled"`
CreatedAt time.Time `json:"created_at"`
// LastActive is the latest use of a session or an API token the base still holds, zero when it holds none: an
// expired session is purged, so a long-gone account has none. Exact to the minute (domain.SeenEvery).
LastActive time.Time `json:"last_active,omitzero"`
Notes int `json:"notes"` // live notes, the trash left out
Sessions int `json:"sessions"` // sessions not expired
Tokens int `json:"tokens"` // API, CLI and OAuth tokens not expired
}
Row is an account as the server's admin sees it.
Click to show internal directories.
Click to hide internal directories.