sysfeatures

package
v0.0.0-...-c1d7ee0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LikwidDeviceDestroy

func LikwidDeviceDestroy(dev LikwidDevice)

func SysFeaturesClose

func SysFeaturesClose()

func SysFeaturesGetByNameAndDevId

func SysFeaturesGetByNameAndDevId(name string, deviceType LikwidDeviceType, deviceId string) (string, error)

func SysFeaturesGetByNameAndDevice

func SysFeaturesGetByNameAndDevice(name string, dev LikwidDevice) (string, error)

func SysFeaturesInit

func SysFeaturesInit() error

func SysFeaturesSetByNameAndDevId

func SysFeaturesSetByNameAndDevId(name string, deviceType LikwidDeviceType, deviceId string, value string) error

func SysFeaturesSetByNameAndDevice

func SysFeaturesSetByNameAndDevice(name string, dev LikwidDevice, value string) error

Types

type LikwidDevice

type LikwidDevice struct {
	Id          int64
	DevType     LikwidDeviceType
	DevTypeName string
	// contains filtered or unexported fields
}

func LikwidDeviceCreate

func LikwidDeviceCreate(deviceType LikwidDeviceType, deviceId string) (LikwidDevice, error)

func LikwidDeviceCreateByTypeName

func LikwidDeviceCreateByTypeName(deviceTypeName string, deviceId string) (LikwidDevice, error)

type LikwidDeviceType

type LikwidDeviceType int

func LikwidDeviceTypeNameToId

func LikwidDeviceTypeNameToId(deviceTypeName string) LikwidDeviceType

type SysFeature

type SysFeature struct {
	Name        string
	Category    string
	Description string
	DevType     LikwidDeviceType
	DevTypeName string
	ReadOnly    bool
	WriteOnly   bool
}

func SysFeaturesList

func SysFeaturesList() ([]SysFeature, error)

func (*SysFeature) String

func (s *SysFeature) String() string

Jump to

Keyboard shortcuts

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