event

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Registered event.Dispatcher = "registered" // 注册成功
	Logged     event.Dispatcher = "logged"     // 登录成功
)

Logged 事件调度类型

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(dispatcher event.Dispatcher, data map[string]interface{}, opts ...event.DispatchOption)

Dispatch 事件调度

func WithQueue

func WithQueue() event.DispatchOption

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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