morph

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

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

type ApiElements struct {
	In []*app.Element
}

func NewApiElements

func NewApiElements(e ...*app.Element) ApiElements

func (ApiElements) Elements

func (a ApiElements) Elements() rankdb.Elements

type BackupStatus

type BackupStatus struct {
	ID backup.ID
	In *backup.Status
}

func (BackupStatus) Default

func (b BackupStatus) Default() *app.RankdbBackupStatus

func (BackupStatus) Full

func (BackupStatus) Tiny

type ElementIDs

type ElementIDs struct {
	In rankdb.ElementIDs
}

func (ElementIDs) Array

func (e ElementIDs) Array() []uint64

type Elements

type Elements struct {
	In []rankdb.Element
}

func (Elements) ToRanked

func (e Elements) ToRanked(firstFromTop, firstFromBottom int, id rankdb.ListID) []*app.RankdbElement

type List

type List struct {
	In *rankdb.List
}

func (List) Default

func (l List) Default() *app.RankdbRanklist

func (List) Full

func (l List) Full(ctx context.Context, bs blobstore.Store, elements bool) *app.RankdbRanklistFull

type RankedElement

type RankedElement struct {
	In *rankdb.RankedElement
}

func (RankedElement) Default

func (r RankedElement) Default(id rankdb.ListID) *app.RankdbElement

func (RankedElement) Full

func (RankedElement) FullExt

func (r RankedElement) FullExt(id rankdb.ListID, below, above rankdb.RankedElements) *app.RankdbElementFull

func (RankedElement) FullUpdate

func (RankedElement) Tiny

type RankedElements

type RankedElements struct {
	In rankdb.RankedElements
}

func (RankedElements) Default

func (r RankedElements) Default(id rankdb.ListID) []*app.RankdbElement

func (RankedElements) Full

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL