proxy

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CentrifugoChannelParser

type CentrifugoChannelParser interface {
	ParseChannel(s, namespace string) (opcua.ChannelProvider, error)
}

CentrifugoChannelParser is a consumer contract modelling a Centrifugo channel parser.

type CentrifugoInfoProvider

type CentrifugoInfoProvider interface {
	Info(ctx context.Context) (gocent.InfoResult, error)
}

CentrifugoInfoProvider is a consumer contract modelling a Centrifugo server informations provider.

type DefaultCentrifugoChannelParser

type DefaultCentrifugoChannelParser struct{}

DefaultCentrifugoChannelParser is the default implementation of CentrifugoChannelParser.

func (DefaultCentrifugoChannelParser) ParseChannel

func (DefaultCentrifugoChannelParser) ParseChannel(s, namespace string) (opcua.ChannelProvider, error)

ParseChannel implements CentrifugoChannelParser.

type MonitorProvider

type MonitorProvider interface {
	Read(ctx context.Context) (*opcua.ReadValues, error)
	State() gopcua.ConnState
	Subscribe(ctx context.Context, nsURI string, ch opcua.ChannelProvider, nodes []opcua.NodeIDProvider) error
}

MonitorProvider is a consumer contract modelling an OPC-UA monitor.

type Proxy

type Proxy struct {
	http.Handler
	// contains filtered or unexported fields
}

Proxy handles requests for the service.

func NewProxy

NewProxy creates and returns a ready to use proxy.

Jump to

Keyboard shortcuts

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