query

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tag

type Tag interface {
	Init(ws model.WSName) error
	Get(ws model.WSName, id model.TagID) (tagWithIndex *model.Tag, exist bool, err error)
	ListAll(ws model.WSName) ([]*model.Tag, error)
	ListByAsync(ws model.WSName, f func(tagWithIndex *model.Tag) bool, cap int) (tagChan <-chan *model.Tag, err error)
	ListBy(ws model.WSName, f func(tagWithIndex *model.Tag) bool) (tags []*model.Tag, err error)
	ListAsSet(ws model.WSName) (set *model.TagSet, err error)
	ForEach(ws model.WSName, f func(tagWithIndex *model.Tag) error) error
}

Jump to

Keyboard shortcuts

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