dispatcher

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: BSD-3-Clause Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(a Action, args ...interface{})

Dispatch function call for action.

func Register

func Register(a Action, callback Callback)

Register action with callback.

Types

type Action

type Action int

Action enum-type for action.

type Callback

type Callback func(args ...interface{})

Callback action callback type.

Jump to

Keyboard shortcuts

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