opcua

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package opcua implements the OPC UA client driver for CoreC.

Index

Constants

View Source
const TypeName = "opcua"

TypeName is the protocol type identifier for the OPC UA driver.

Variables

This section is empty.

Functions

func NewOPCUADriver

func NewOPCUADriver(config core.DriverConfig) (core.Driver, error)

NewOPCUADriver creates a new OPC UA driver instance.

Types

type OPCUADriver

type OPCUADriver struct {
	driverbase.BaseDriver
	// contains filtered or unexported fields
}

OPCUADriver implements core.Driver for OPC UA protocol.

func (*OPCUADriver) Capabilities

func (d *OPCUADriver) Capabilities() core.DriverCapabilities

func (*OPCUADriver) Init

func (d *OPCUADriver) Init(ctx context.Context, config core.DriverConfig) error

func (*OPCUADriver) Read

func (d *OPCUADriver) Read(ctx context.Context, tags []string) ([]core.TagValue, error)

func (*OPCUADriver) Subscribe

func (d *OPCUADriver) Subscribe(ctx context.Context, tags []string) (<-chan core.DataPoint, error)

func (*OPCUADriver) Write

func (d *OPCUADriver) Write(ctx context.Context, commands []core.WriteCommand) ([]core.WriteResult, error)

Jump to

Keyboard shortcuts

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