chore: 并入 iotlcm-upstream-proxy 历史到 upstream-proxy/(原提交 44209ec)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:02 +08:00
117 changed files with 8690 additions and 0 deletions
+23
View File
@@ -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"`
}