Browse Source

add delete channel

pull/1329/head
Chris Lu 5 years ago
parent
commit
d3925d086c
  1. 5
      weed/messaging/msgclient/chan_config.go
  2. 0
      weed/messaging/msgclient/chan_pub.go
  3. 0
      weed/messaging/msgclient/chan_sub.go

5
weed/messaging/msgclient/chan_config.go

@ -0,0 +1,5 @@
package msgclient
func (mc *MessagingClient) DeleteChannel(chanName string) error {
return mc.DeleteTopic("chan", chanName)
}

0
weed/messaging/msgclient/pub_chan.go → weed/messaging/msgclient/chan_pub.go

0
weed/messaging/msgclient/sub_chan.go → weed/messaging/msgclient/chan_sub.go

Loading…
Cancel
Save