persistance

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwitchMachineStore

type SwitchMachineStore interface {
	AddSwitchMachine(switchmachine.State) error
	HasSwitchMachine(switchmachine.Id) bool
	GetSwitchMachineById(switchmachine.Id) switchmachine.State
	GetAll() []switchmachine.State
	RemoveSwitchMachine(switchmachine.Id) (switchmachine.State, error)
	UpdateSwitchMachine(switchmachine.State) error
}

func NewSwitchMachineStore

func NewSwitchMachineStore() SwitchMachineStore

Jump to

Keyboard shortcuts

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