chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)

This commit is contained in:
MiFaZhan
2026-11-02 13:27:59 +08:00
1250 changed files with 154111 additions and 0 deletions
@@ -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"`
}
@@ -0,0 +1,15 @@
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package workerdiagnostic
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-admin-svr/api/workerdiagnostic/v1"
)
type IWorkerdiagnosticV1 interface {
Diagnostic(ctx context.Context, req *v1.DiagnosticReq) (res *v1.DiagnosticRes, err error)
}