opcua

package
v0.0.0-...-ee60c44 Latest Latest
Warning

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

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OPCUA

type OPCUA struct {
	ServerName string      `toml:"ServerName"`
	URL        string      `toml:"URL"`
	Nodes      []opcuaNode `toml:"Nodes"`

	ID        []*ua.NodeID
	ReadValID []*ua.ReadValueID
	// contains filtered or unexported fields
}

OPCUA : Structure for all the plugin info

func (*OPCUA) Description

func (o *OPCUA) Description() string

Description returns a short description of what the plugin does

func (*OPCUA) Gather

func (o *OPCUA) Gather(acc telegraf.Accumulator) error

Gather implements the telegraf plugin interface method for data accumulation

func (*OPCUA) Init

func (o *OPCUA) Init() error

Init : function to intialize the plugin

func (*OPCUA) SampleConfig

func (o *OPCUA) SampleConfig() string

SampleConfig returns a basic configuration for the plugin

Jump to

Keyboard shortcuts

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