eventbus

package
v0.0.0-...-8a20bae Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomClusterInitTopic    Topic = "custom-cluster.lifecycle.init"
	CustomClusterDeletedTopic       = "custom-cluster.lifecycle.deleted"
	ExperimentDeletedTopic          = "experiment.lifecycle.deleted"
)

Variables

This section is empty.

Functions

func NewBlockListener

func NewBlockListener(ID string, hookFn hook) *listener

func NewSimpleListener

func NewSimpleListener(ID string, hookFn hook) *listener

func Publish

func Publish(t Topic, args ...interface{})

func Register

func Register(t Topic, l listener)

func Unregister

func Unregister(ID string)

TODO

Types

type Topic

type Topic string

Jump to

Keyboard shortcuts

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