From c11ffddef88de4df4d3d2563006613203cf12843 Mon Sep 17 00:00:00 2001 From: timerzz Date: Thu, 5 Sep 2024 16:28:46 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E9=87=8D=E6=96=B0?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E6=94=B6=E7=9B=8A=E7=8E=87=E7=9A=84channel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- structs/utils/subscribe.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/structs/utils/subscribe.go b/structs/utils/subscribe.go index 7fa9042..ed505ba 100644 --- a/structs/utils/subscribe.go +++ b/structs/utils/subscribe.go @@ -6,6 +6,10 @@ import ( v2 "gitea.timerzz.com/kedaya_haitao/common/structs/v2" ) +const ( + ProfitRate_Channel = "profit_rate" +) + func ProviderConfigNotifyChannel(providerId v2.ProviderId) string { return fmt.Sprintf("/provider/%s/cfg", providerId) }