kvs

package
v0.0.0-...-dad7c9b Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

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

type SerializedObject

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

type Storage

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

func NewStorage

func NewStorage(numBuckets int) *Storage

func (*Storage) Delete

func (s *Storage) Delete(key string)

func (*Storage) Get

func (s *Storage) Get(key string) (string, error)

func (*Storage) Set

func (s *Storage) Set(key string, value string) error

Jump to

Keyboard shortcuts

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