From f7310a93c4af60bfda3f1af24adf6bbe6bc8b5ee Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Tue, 13 Jun 2023 16:05:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88agent=E7=9A=84event=E6=9C=BA?= =?UTF-8?q?=E5=88=B6=EF=BC=8C=E6=94=B9=E4=B8=BA=E5=AF=B9=E5=A4=96=E6=8F=90?= =?UTF-8?q?=E4=BE=9BAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consts/consts.go | 4 ++-- consts/event/event.go | 11 ----------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 consts/event/event.go diff --git a/consts/consts.go b/consts/consts.go index aa05a1b..55eefec 100644 --- a/consts/consts.go +++ b/consts/consts.go @@ -6,9 +6,9 @@ const ( ) const ( - IPFS_STATUS_OK = "OK" + IPFS_STATE_OK = "OK" - STORAGE_DIRECTORY_STATUS_OK = "OK" + STORAGE_DIRECTORY_STATE_OK = "OK" NODE_STATE_NORMAL = "Normal" NODE_STATE_UNAVAILABLE = "Unavailable" diff --git a/consts/event/event.go b/consts/event/event.go deleted file mode 100644 index 96a8a3b..0000000 --- a/consts/event/event.go +++ /dev/null @@ -1,11 +0,0 @@ -package event - -const ( - UPDATE_CACHE_DELETE_TEMP = "DeleteTemp" - UPDATE_CACHE_CREATE_TEMP = "CreateTemp" -) - -const ( - UPDATE_STORAGE_DELETE = "Delete" - UPDATE_STORAGE_SET_NORMAL = "SetNormal" -)