signal

package
Version: v0.0.0-...-6d6101f Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

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

func NewDispatcher

func NewDispatcher() *Dispatcher

func (*Dispatcher) AddListener

func (e *Dispatcher) AddListener(whence string, listener chan Signal)

func (*Dispatcher) DirectDispatch

func (e *Dispatcher) DirectDispatch(result Signal)

func (*Dispatcher) Dispatch

func (e *Dispatcher) Dispatch(name, args string)

type Signal

type Signal struct {
	Name    string
	Payload []string
	Err     error
}

Jump to

Keyboard shortcuts

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