21 lines
468 B
Go
21 lines
468 B
Go
// Copyright (c) Mainflux
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package opcua
|
|
|
|
// BrowsedNode represents the details of a browsed OPC-UA node.
|
|
type BrowsedNode struct {
|
|
NodeID string
|
|
Type string
|
|
Description string
|
|
Unit string
|
|
Scale string
|
|
BrowseName string
|
|
}
|
|
|
|
// Browser represents the OPC-UA Server Nodes browser.
|
|
type Browser interface {
|
|
// Browse availlable Nodes for a given URI.
|
|
Browse(string, string) ([]BrowsedNode, error)
|
|
}
|