package v1 import "github.com/gogf/gf/v2/frame/g" type RefreshReq struct { g.Meta `path:"/internal/channel/refresh" tags:"Internal" method:"POST" summary:"Refresh channel cache"` ChanKey string `json:"chanKey" in:"query" v:"required#chanKey is required"` } type RefreshRes struct { ChanKey string `json:"chanKey"` Refreshed bool `json:"refreshed"` } type RemoveReq struct { g.Meta `path:"/internal/channel/remove" tags:"Internal" method:"POST" summary:"Remove channel cache"` ChanKey string `json:"chanKey" in:"query" v:"required#chanKey is required"` } type RemoveRes struct { ChanKey string `json:"chanKey"` Removed bool `json:"removed"` }