From c3417b35fe3855010b384dbfa523e2aa6b282129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 25 Jun 2024 15:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=8B=E4=BB=B6=E9=A9=B1?= =?UTF-8?q?=E5=8A=A8=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- event.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 event.go diff --git a/event.go b/event.go new file mode 100644 index 0000000..26fe6a1 --- /dev/null +++ b/event.go @@ -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" // 内存驱动(单机) +)