services

package
v0.0.0-...-3c57ce0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllDevices

func GetAllDevices() (*[]models.Device, *models.JSONError)

GetAllDevices add all the Rubus `Device` into the database

func GetDevice

func GetDevice(port string) (*models.Device, *models.JSONError)

GetDevice adds a new Rubus `Device` into the database

func PowerDeviceOff

func PowerDeviceOff(port string) *models.JSONError

PowerDeviceOff shuts down the `Device` on the given `port`

func PowerDeviceOn

func PowerDeviceOn(port string) *models.JSONError

PowerDeviceOn boots the `Device` on the given `port`

Types

This section is empty.

Jump to

Keyboard shortcuts

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