storage

package
v0.3.32 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyType

type KeyType int
const (
	JobSessionType KeyType = iota
	ReservationSessionType
)

func (KeyType) String

func (k KeyType) String() string

type Storer

type Storer interface {
	Init() error
	Put(t KeyType, key, value string) error
	Get(t KeyType, key string) (string, error)
	List(t KeyType) ([]string, error)
	Exists(t KeyType, key string) bool
	Delete(t KeyType, key string) error
	Exit() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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