handler_mgmt

package
v0.22.24 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBindHandler

func NewBindHandler(network *network.Network, xmgmts []xmgmt.Xmgmt) channel.BindHandler

Types

type BindHandler

type BindHandler struct {
	// contains filtered or unexported fields
}

func (*BindHandler) BindChannel

func (bindHandler *BindHandler) BindChannel(binding channel.Binding) error

type ConnectHandler

type ConnectHandler struct {
	// contains filtered or unexported fields
}

func NewConnectHandler

func NewConnectHandler(identity identity.Identity, network *network.Network) *ConnectHandler

func (*ConnectHandler) HandleConnection

func (self *ConnectHandler) HandleConnection(hello *channel.Hello, certificates []*x509.Certificate) error

type EventsStreamHandler added in v0.22.0

type EventsStreamHandler struct {
	// contains filtered or unexported fields
}

func (*EventsStreamHandler) AcceptFormattedEvent added in v0.22.0

func (handler *EventsStreamHandler) AcceptFormattedEvent(eventType string, formattedEvent []byte)

type StreamEventsRequest added in v0.22.0

type StreamEventsRequest struct {
	Format        string                `json:"format"`
	Subscriptions []*event.Subscription `json:"subscriptions"`
}

Jump to

Keyboard shortcuts

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