Help us shape the future of Go! Take the 2026 Go Developer Survey

writecache

package
v0.46.12 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func DefaultBucketParser

func DefaultBucketParser(key, value []byte) (schema.Entry, schema.Parser, error)

func DefaultRecordParser

func DefaultRecordParser(key, value []byte) (schema.Entry, schema.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) schema.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) schema.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