devices

package
v0.0.0-...-6d248b5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

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

func (*Device) Description

func (d *Device) Description() string

func (*Device) ID

func (d *Device) ID() int

func (*Device) Name

func (d *Device) Name() string

func (*Device) Online

func (d *Device) Online() bool

func (*Device) SetDescription

func (d *Device) SetDescription(desc string)

func (*Device) SetID

func (d *Device) SetID(id int)

func (*Device) SetName

func (d *Device) SetName(name string)

func (*Device) SetOnline

func (d *Device) SetOnline(value bool)

func (*Device) SetType

func (d *Device) SetType(value string)

func (*Device) Type

func (d *Device) Type() string

type IDevice

type IDevice interface {
	ID() int
	SetID(id int)
	Name() string
	SetName(name string)
	SetType(value string)
	Type() string
	SetDescription(key string)
	Description() string
	SetOnline(value bool)
	Online() bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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