Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

add delete channel

Chris Lud3925d086c9c
diff --git a/weed/messaging/msgclient/chan_config.go b/weed/messaging/msgclient/chan_config.go
new file mode 100644
index 0000000000..a75678815d
--- /dev/null
+++ b/weed/messaging/msgclient/chan_config.go
@@ -0,0 +1,5 @@
+package msgclient
+
+func (mc *MessagingClient) DeleteChannel(chanName string) error {
+ return mc.DeleteTopic("chan", chanName)
+}
diff --git a/weed/messaging/msgclient/pub_chan.go b/weed/messaging/msgclient/chan_pub.go
similarity index 100%
rename from weed/messaging/msgclient/pub_chan.go
rename to weed/messaging/msgclient/chan_pub.go
diff --git a/weed/messaging/msgclient/sub_chan.go b/weed/messaging/msgclient/chan_sub.go
similarity index 100%
rename from weed/messaging/msgclient/sub_chan.go
rename to weed/messaging/msgclient/chan_sub.go