detect

package
v0.0.0-...-fe68c91 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TaskPing    = "ping"
	TaskHttp    = "tcp_http"
	TaskModbus  = "tcp_modbus"
	TaskSunspec = "sunspec"
)

public task ids

Variables

This section is empty.

Functions

func Work

func Work(log *util.Logger, num int, hosts []string) []tasks.Result

Types

type Criteria

type Criteria map[string]interface{}

type Summary

type Summary struct {
	Charger, Grid, PV, Charge, Battery, Meter TypeSummary
}

type TaskList

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

func (*TaskList) Add

func (l *TaskList) Add(task tasks.Task)

func (*TaskList) Count

func (l *TaskList) Count() int

func (*TaskList) Test

func (l *TaskList) Test(log *util.Logger, id string, input tasks.ResultDetails) []tasks.Result

type TypeSummary

type TypeSummary struct {
	Results       []tasks.Result
	Found, Unique bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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