events

package
v0.0.0-...-15e73b4 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2021 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationEvent

type ApplicationEvent interface {
	Subscribe(string, chan interface{})
	Unsubscribe(string, chan interface{})
	Publish(string, interface{})
}

type UserEvent

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

func (*UserEvent) Publish

func (d *UserEvent) Publish(eventType string, content interface{})

func (*UserEvent) Subscribe

func (d *UserEvent) Subscribe(eventType string, ch chan interface{})

func (*UserEvent) Unsubscribe

func (d *UserEvent) Unsubscribe(eventType string, ch chan interface{})

Jump to

Keyboard shortcuts

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