config

package
v0.2024.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	driver.BaseConfig

	// Smart core metadata associated with this device.
	Metadata *traits.Metadata `json:"metadata,omitempty"`

	IpAddress    string `json:"ipAddress"`
	Password     string `json:"password,omitempty"`
	PasswordFile string `json:"passwordFile,omitempty"`

	// to support UDMI/MQTT automation
	UDMITopicPrefix string `json:"udmiTopicPrefix,omitempty"`
}

func (*Root) LoadPassword

func (c *Root) LoadPassword() (string, error)

Jump to

Keyboard shortcuts

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