signal

package
v0.0.0-...-9799ab4 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DEBUG = false

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector0

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

func (*Connector0) Disconnect

func (self *Connector0) Disconnect()

type Connector0Pool

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

func (*Connector0Pool) Disconnect

func (self *Connector0Pool) Disconnect()

type Connector1

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

func (*Connector1) Disconnect

func (self *Connector1) Disconnect()

type Connector1Pool

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

func (*Connector1Pool) Disconnect

func (self *Connector1Pool) Disconnect()

type Connector2

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

func (*Connector2) Disconnect

func (self *Connector2) Disconnect()

func (*Connector2) Use

func (self *Connector2) Use()

type Connector2Pool

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

func (*Connector2Pool) Disconnect

func (self *Connector2Pool) Disconnect()

type ListenerFunction

type ListenerFunction func(data interface{})

type Signal0

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

tryings to use runtime module to track for connected method unavailability doesn't works too well. use Signal1

func NewSignal0

func NewSignal0() *Signal0

func (*Signal0) Connect

func (self *Signal0) Connect(f ListenerFunction) *Connector0

func (*Signal0) Disconnect

func (self *Signal0) Disconnect(id uint64)

func (*Signal0) Emit

func (self *Signal0) Emit(data interface{})

type Signal1

type Signal1 struct {
	Debug bool
	// contains filtered or unexported fields
}

func NewSignal1

func NewSignal1() *Signal1

func (*Signal1) Connect

func (self *Signal1) Connect(f ListenerFunction) *Connector1

func (*Signal1) Disconnect

func (self *Signal1) Disconnect(id uint64)

func (*Signal1) Emit

func (self *Signal1) Emit(data interface{})

type Signal2

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

func NewSignal2

func NewSignal2() *Signal2

func (*Signal2) Connect

func (self *Signal2) Connect(f ListenerFunction) *Connector2

func (*Signal2) Emit

func (self *Signal2) Emit(data interface{})

Jump to

Keyboard shortcuts

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