kv

package
v0.15.17-hotfix.5 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(kvStore kv.TxnStore, opts StoreOptions) rules.Store

NewStore creates a new Store.

Types

type StoreOptions

type StoreOptions struct {
	NamespacesKey string
	RuleSetKeyFmt string
	Validator     rules.Validator
}

StoreOptions provide a set of options for KV-backed rules store.

func NewStoreOptions

func NewStoreOptions(
	namespacesKey string,
	rulesetKeyFmt string,
	validator rules.Validator,
) StoreOptions

NewStoreOptions creates a new store options struct.

Jump to

Keyboard shortcuts

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