unit_tcp_telnet_control

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ItemNameStatus = "Status"
)

Variables

View Source
var Image []byte

Functions

func New

Types

type Config

type Config struct {
	Addr    string `json:"addr"`
	Timeout float64
	Period  float64
	Items   []Item `json:"items"`
}

type Item

type Item struct {
	Name   string `json:"item_name"`
	Format string `json:"format"`
}

type UnitTcpControl

type UnitTcpControl struct {
	units_common.Unit
	// contains filtered or unexported fields
}

func (*UnitTcpControl) GetConfigMeta

func (c *UnitTcpControl) GetConfigMeta() string

func (*UnitTcpControl) InternalUnitStart

func (c *UnitTcpControl) InternalUnitStart() error

func (*UnitTcpControl) InternalUnitStop

func (c *UnitTcpControl) InternalUnitStop()

func (*UnitTcpControl) Tick

func (c *UnitTcpControl) Tick()

Jump to

Keyboard shortcuts

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