testkv

package
v0.0.0-...-3a4fc69 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionGet

type ActionGet struct {
	Key int64
}

type ActionGetAtNode

type ActionGetAtNode struct {
	Key  int64
	Node fz.NodeID
}

type ActionSet

type ActionSet struct {
	Key   int64
	Value int64
}

type ActionSetAtNode

type ActionSetAtNode struct {
	Key   int64
	Value int64
	Node  fz.NodeID
}

type KV

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

func NewKV

func NewKV(
	maxClients int,
) *KV

func (*KV) Get

func (k *KV) Get(key any) (value any)

func (*KV) Set

func (k *KV) Set(key any, value any)

Jump to

Keyboard shortcuts

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