MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / DeleteDisabledChannel

Function DeleteDisabledChannel

controller/channel.go:539–552  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

537}
538
539func DeleteDisabledChannel(c *gin.Context) {
540 rows, err := model.DeleteDisabledChannel()
541 if err != nil {
542 common.ApiError(c, err)
543 return
544 }
545 model.InitChannelCache()
546 c.JSON(http.StatusOK, gin.H{
547 "success": true,
548 "message": "",
549 "data": rows,
550 })
551 return
552}
553
554type ChannelTag struct {
555 Tag string `json:"tag"`

Callers

nothing calls this directly

Calls 3

DeleteDisabledChannelFunction · 0.92
ApiErrorFunction · 0.92
InitChannelCacheFunction · 0.92

Tested by

no test coverage detected