kvsql

package
v0.0.0-...-c3ee64d Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SqlBucket

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

type SqlBucketBuilder

type SqlBucketBuilder func(bucket string) (SqlBucket, error)

type SqlGet

type SqlGet func(context.Context, SqlKey) (ki.Val, error)

type SqlKey

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

func SqlKeyNew

func SqlKeyNew(validTablename string, key string) SqlKey

type SqlKeyBuilder

type SqlKeyBuilder func(key ki.Key) (SqlKey, error)

type SqlKeyConverter

type SqlKeyConverter func(SqlKey) (ki.Key, error)

type SqlKv

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

func (SqlKv) Get

func (sk SqlKv) Get(ctx context.Context, key ki.Key) (ki.Val, error)

func (SqlKv) Lst

func (sk SqlKv) Lst(ctx context.Context, bucket string) (keys ki.Iter[ki.Key], err error)

type SqlLst

type SqlLst func(context.Context, SqlBucket) (keys ki.Iter[SqlKey], err error)

Jump to

Keyboard shortcuts

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