Mainflux.mainflux/opcua/subscriber.go

13 lines
274 B
Go

// Copyright (c) Mainflux
// SPDX-License-Identifier: Apache-2.0
package opcua
import "context"
// Subscriber represents the OPC-UA Server client.
type Subscriber interface {
// Subscribes to given NodeID and receives events.
Subscribe(context.Context, Config) error
}