unit_http_json_units_server

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: 11 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 {
	Port  float64 `json:"port"`
	Units []Item  `json:"units"`
}

type Item

type Item struct {
	UnitId  string `json:"unit_id"`
	UrlPath string `json:"url_path"`
}

type UnitHttpJsonUnitServer

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

func (*UnitHttpJsonUnitServer) GetConfigMeta

func (c *UnitHttpJsonUnitServer) GetConfigMeta() string

func (*UnitHttpJsonUnitServer) InternalUnitStart

func (c *UnitHttpJsonUnitServer) InternalUnitStart() error

func (*UnitHttpJsonUnitServer) InternalUnitStop

func (c *UnitHttpJsonUnitServer) InternalUnitStop()

func (*UnitHttpJsonUnitServer) Tick

func (c *UnitHttpJsonUnitServer) Tick()

Jump to

Keyboard shortcuts

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