Documentation ¶
Index ¶
- func NewBBoltTag(b *bolt.DB) query.Tag
- type BBoltBaseTag
- func (b *BBoltBaseTag) ForEach(ws model.WSName, f func(tagWithIndex *model.Tag) error) error
- func (b *BBoltBaseTag) Get(ws model.WSName, id model.TagID) (tagWithIndex *model.Tag, exist bool, err error)
- func (b *BBoltBaseTag) ListAll(ws model.WSName) (assets []*model.Tag, err error)
- func (b *BBoltBaseTag) ListAsSet(ws model.WSName) (set *model.TagSet, err error)
- func (b *BBoltBaseTag) ListBy(ws model.WSName, f func(tag *model.Tag) bool) (assets []*model.Tag, err error)
- func (b *BBoltBaseTag) ListByAsync(ws model.WSName, f func(tagWithIndex *model.Tag) bool, cap int) (assetChan <-chan *model.Tag, err error)
- type BBoltTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BBoltBaseTag ¶
type BBoltBaseTag struct {
// contains filtered or unexported fields
}
func NewBBoltBaseTag ¶
func NewBBoltBaseTag(b *bolt.DB, bucketName string) *BBoltBaseTag
Click to show internal directories.
Click to hide internal directories.