Documentation
¶
Overview ¶
Package opcua implements the OPC UA client driver for CoreC.
Index ¶
- Constants
- func NewOPCUADriver(config core.DriverConfig) (core.Driver, error)
- type OPCUADriver
- func (d *OPCUADriver) Capabilities() core.DriverCapabilities
- func (d *OPCUADriver) Init(ctx context.Context, config core.DriverConfig) error
- func (d *OPCUADriver) Read(ctx context.Context, tags []string) ([]core.TagValue, error)
- func (d *OPCUADriver) Subscribe(ctx context.Context, tags []string) (<-chan core.DataPoint, error)
- func (d *OPCUADriver) Write(ctx context.Context, commands []core.WriteCommand) ([]core.WriteResult, error)
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) Write ¶
func (d *OPCUADriver) Write(ctx context.Context, commands []core.WriteCommand) ([]core.WriteResult, error)
Click to show internal directories.
Click to hide internal directories.