listener

package
v0.0.0-...-a474e13 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const PushNotify event.Name = "notify.push"

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct{}

func (Listener) Listen

func (u Listener) Listen(event interface{})

type PushNotifyEvent

type PushNotifyEvent struct {
	Time    time.Time
	Message string
}

func (PushNotifyEvent) Handle

func (e PushNotifyEvent) Handle()

Jump to

Keyboard shortcuts

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