chore: 并入 iotlcm-upstream-proxy 历史到 upstream-proxy/(原提交 44209ec)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user