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
Click to show internal directories.
Click to hide internal directories.