writecache

package
v0.44.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WritecacheParser = common.WithFallback(
	DefaultBucketParser,
	common.RawParser.ToFallbackParser(),
)

Functions

func DefaultBucketParser

func DefaultBucketParser(key, value []byte) (common.SchemaEntry, common.Parser, error)

func DefaultRecordParser

func DefaultRecordParser(key, value []byte) (common.SchemaEntry, common.Parser, error)

Types

type DefaultBucket

type DefaultBucket struct{}

func (*DefaultBucket) DetailedString

func (b *DefaultBucket) DetailedString() string

func (*DefaultBucket) Filter

func (b *DefaultBucket) Filter(typ string, _ any) common.FilterResult

func (*DefaultBucket) String

func (b *DefaultBucket) String() string

type DefaultRecord

type DefaultRecord struct {
	// contains filtered or unexported fields
}

func (*DefaultRecord) DetailedString

func (r *DefaultRecord) DetailedString() string

func (*DefaultRecord) Filter

func (r *DefaultRecord) Filter(typ string, val any) common.FilterResult

func (*DefaultRecord) String

func (r *DefaultRecord) String() string

Jump to

Keyboard shortcuts

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