module

package
v0.0.0-...-a720d94 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AUTO_SAVE_FILE = "data/devices_%s.dat"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoSave

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

func NewAutoSave

func NewAutoSave(packetLive *PacketLive) *AutoSave

func (*AutoSave) Run

func (a *AutoSave) Run()

type DailyReset

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

func NewDailyReset

func NewDailyReset(packetLive *PacketLive) *DailyReset

func (*DailyReset) Run

func (d *DailyReset) Run()

type DevicesRestore

type DevicesRestore struct {
}

func NewDevicesRestore

func NewDevicesRestore() *DevicesRestore

func (*DevicesRestore) Restore

func (d *DevicesRestore) Restore() (devices model.Devices, err error)

type PacketLive

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

func NewPacketLive

func NewPacketLive(devices model.Devices) *PacketLive

func (*PacketLive) GetDevices

func (p *PacketLive) GetDevices() []model.Device

func (*PacketLive) Live

func (p *PacketLive) Live(device string)

Jump to

Keyboard shortcuts

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