增加事件驱动定义

This commit is contained in:
白茶清欢 2024-06-25 15:55:35 +08:00
parent 2598eb986e
commit c3417b35fe

20
event.go Normal file
View File

@ -0,0 +1,20 @@
// Package consts ...
//
// Description : consts ...
//
// Author : go_developer@163.com<白茶清欢>
//
// Date : 2024-06-25 15:48
package consts
const (
EventDriverNull = "null" // 禁用事件
EventDriverEtcd = "etcd" // etcd驱动
EventDriverKafka = "kafka" // kafka驱动
EventDriverRocketmq = "rocketmq" // rocketmq 驱动
EventDriverRedis = "redis" // redis驱动
EventDriverMysql = "mysql" // mysql驱动
EventDriverSqlite3 = "sqlite3" // sqlite3驱动(单机)
EventDriverLocal = "local-file" // 本地磁盘文件驱动(单机)
EventDriverMemory = "memory" // 内存驱动(单机)
)