Documentation
¶
Index ¶
- type APIListIDs
- type ApiElementID
- type ApiElementIDs
- type ApiElements
- type BackupStatus
- type ElementIDs
- type Elements
- type List
- type RankedElement
- func (r RankedElement) Default(id rankdb.ListID) *app.RankdbElement
- func (r RankedElement) Full(id rankdb.ListID) *app.RankdbElementFull
- func (r RankedElement) FullExt(id rankdb.ListID, below, above rankdb.RankedElements) *app.RankdbElementFull
- func (r RankedElement) FullUpdate(id rankdb.ListID) *app.RankdbElementFullUpdate
- func (r RankedElement) Tiny() *app.RankdbElementTiny
- type RankedElements
- type RestoreResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIListIDs ¶
type APIListIDs struct {
In []string
}
func (APIListIDs) IDs ¶
func (a APIListIDs) IDs() rankdb.ListIDs
IDs returns API list ids. Empty and duplicate ids are removed.
type ApiElementID ¶
type ApiElementID struct {
In uint64
}
func NewApiElementIDString ¶
func NewApiElementIDString(id string) (*ApiElementID, error)
func (ApiElementID) ElementID ¶
func (a ApiElementID) ElementID() rankdb.ElementID
type ApiElementIDs ¶
type ApiElementIDs struct {
In []uint64
}
func NewApiElementIDs ¶
func NewApiElementIDs(ids ...uint64) ApiElementIDs
func NewApiElementIDsString ¶
func NewApiElementIDsString(ids ...string) (*ApiElementIDs, error)
func (ApiElementIDs) ElementIDs ¶
func (a ApiElementIDs) ElementIDs() rankdb.ElementIDs
type ApiElements ¶
func NewApiElements ¶
func NewApiElements(e ...*app.Element) ApiElements
func (ApiElements) Elements ¶
func (a ApiElements) Elements() rankdb.Elements
type BackupStatus ¶
func (BackupStatus) Default ¶
func (b BackupStatus) Default() *app.RankdbBackupStatus
func (BackupStatus) Full ¶
func (b BackupStatus) Full() *app.RankdbBackupStatusFull
func (BackupStatus) Tiny ¶
func (b BackupStatus) Tiny() *app.RankdbBackupStatusTiny
type ElementIDs ¶
type ElementIDs struct {
In rankdb.ElementIDs
}
func (ElementIDs) Array ¶
func (e ElementIDs) Array() []uint64
type RankedElement ¶
type RankedElement struct {
In *rankdb.RankedElement
}
func (RankedElement) Default ¶
func (r RankedElement) Default(id rankdb.ListID) *app.RankdbElement
func (RankedElement) Full ¶
func (r RankedElement) Full(id rankdb.ListID) *app.RankdbElementFull
func (RankedElement) FullExt ¶
func (r RankedElement) FullExt(id rankdb.ListID, below, above rankdb.RankedElements) *app.RankdbElementFull
func (RankedElement) FullUpdate ¶
func (r RankedElement) FullUpdate(id rankdb.ListID) *app.RankdbElementFullUpdate
func (RankedElement) Tiny ¶
func (r RankedElement) Tiny() *app.RankdbElementTiny
type RankedElements ¶
type RankedElements struct {
In rankdb.RankedElements
}
func (RankedElements) Default ¶
func (r RankedElements) Default(id rankdb.ListID) []*app.RankdbElement
func (RankedElements) Full ¶
func (r RankedElements) Full(id rankdb.ListID) []*app.RankdbElementFull
func (RankedElements) Tiny ¶
func (r RankedElements) Tiny() []*app.RankdbElementTiny
type RestoreResult ¶
type RestoreResult struct {
In *backup.RestoreResult
}
func (RestoreResult) Default ¶
func (r RestoreResult) Default() *app.RankdbRestoreresult
Click to show internal directories.
Click to hide internal directories.