smn_trigger

package
v0.0.0-...-8887d1c Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TriOnSignal

type TriOnSignal interface {
	/*
			Error is passed to the error trigger for processing, no value will be returned here, because the trigger does not
		promise to process any return results
	*/
	OnSignal(sig TriSignal)
}

type TriSignal

type TriSignal interface{}

the signal what's the trigger accept

type Trigger

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

func NewTrigger

func NewTrigger() *Trigger

func (*Trigger) OnDeal

func (this *Trigger) OnDeal(signal TriSignal)

func (*Trigger) OnRegist

func (this *Trigger) OnRegist(onSignal TriOnSignal)

Jump to

Keyboard shortcuts

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