xctrl

package
v0.22.12 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capabilities

type Capabilities struct {
	channel.Channel
}

func (*Capabilities) Get

func (capabilities *Capabilities) Get(timeout time.Duration) ([]string, error)

func (*Capabilities) Has

func (capabilities *Capabilities) Has(capability string, timeout time.Duration) (bool, error)

func (*Capabilities) IsEdgeCapable

func (capabilities *Capabilities) IsEdgeCapable(timeout time.Duration) (bool, error)

type Xctrl

type Xctrl interface {
	config.Subconfig
	channel.BindHandler
	Enabled() bool
	Run(ctrl channel.Channel, db boltz.Db, done chan struct{}) error
	NotifyOfReconnect(ch channel.Channel)
	GetTraceDecoders() []channel.TraceMessageDecoder
}

An Xctrl allows adding handlers to the router <-> controller connection on the controller side. This means you can support additional message types/flows to extend the basic fabric functionality.

There is a corresponding Xrctrl interface for extending communication on the router side

Jump to

Keyboard shortcuts

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