store

package
v0.0.0-...-95e5c92 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: BSD-3-Clause Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storable

type Storable interface {
	ID() uuid.UUID
}

Storable provides an interface for the controller's storage architecture.

type Store

type Store interface {
	Exists(id uuid.UUID) bool
	Add(item Storable) error
	Get(id uuid.UUID) (Storable, error)
	Delete(id uuid.UUID) error
	UUIDs() []uuid.UUID
}

Store describes an interface for store implementations.

Source Files

  • store.go

Jump to

Keyboard shortcuts

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