package
0.1.13
Repository: https://github.com/couchbase/cbauth.git
Documentation: pkg.go.dev

# Functions

Add creates given kv pair.
AddSensitive is Add for storing sensitive info.
Delete deletes given key.
ExecuteBasicSanityTest runs basic sanity test.
Get returns matching value and revision for given key.
GoRunDebugEndpoint function can be used to run simple http server for "manual" debugging of metakv facility.
IterateChildren invokes given callback on every kv-pair that's child of given directory path.
ListAllChildren returns all child entries of given "directory" node.
RecursiveDelete deletes all keys that are children of given directory path.
RunObserveChildren invokes gen callback on every kv-pair that is child of given directory path and then on every mutation of affected keys.
Set updates given key-value pair.
SetSensitive is Set for storing sensitive info.

# Variables

ErrRevMismatch error is returned from Set and Delete when there is rev mismatch.
RevCreate is a special revision which when passed to Set will change Set to Add.

# Structs

KVEntry struct represents kv entry returned from ListAllChildren and used as a parameter in Callback.

# Type aliases

Callback type describes functions that receive mutations from RunObserveChildren.