chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package v1
|
||||
|
||||
import "github.com/gogf/gf/v2/frame/g"
|
||||
|
||||
type DiagnosticReq struct {
|
||||
g.Meta `path:"/worker/diagnostic" method:"post" tags:"Monitor" summary:"Publish Worker diagnostic message"`
|
||||
Message string `json:"message" v:"required|length:1,200#message is required|message length must be between 1 and 200 characters" dc:"Diagnostic message"`
|
||||
}
|
||||
|
||||
type DiagnosticRes struct {
|
||||
TraceID string `json:"traceId"`
|
||||
Queue string `json:"queue"`
|
||||
SentAt int64 `json:"sentAt"`
|
||||
}
|
||||
Reference in New Issue
Block a user