application

package
v0.0.0-...-daba3dc Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionProxy

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

func NewConnectionProxy

func NewConnectionProxy() *ConnectionProxy

func (*ConnectionProxy) AddListener

func (pp *ConnectionProxy) AddListener(listener ConnectionProxyListener)

func (*ConnectionProxy) Notify

func (pp *ConnectionProxy) Notify(event ConnectionProxyEvent)

func (*ConnectionProxy) RemoveListener

func (pp *ConnectionProxy) RemoveListener(listener ConnectionProxyListener)

type ConnectionProxyEvent

type ConnectionProxyEvent struct {
	Type    string
	Payload interface{}
}

func NewConnectionProxyEvent

func NewConnectionProxyEvent(eventType string, payload interface{}) ConnectionProxyEvent

type ConnectionProxyListener

type ConnectionProxyListener interface {
	OnNotify(event ConnectionProxyEvent)
}

Jump to

Keyboard shortcuts

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