API节点启动失败后记录相关问题和处理建议

This commit is contained in:
GoEdgeLab
2022-06-08 15:13:24 +08:00
parent 65e3a59fc2
commit 63344b59e8
3 changed files with 194 additions and 36 deletions

View File

@@ -0,0 +1,17 @@
// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
package nodes
type StartIssue struct {
Code string `json:"code"`
Message string `json:"message"`
Suggestion string `json:"suggestion"`
}
func NewStartIssue(code string, message string, suggestion string) *StartIssue {
return &StartIssue{
Code: code,
Message: message,
Suggestion: suggestion,
}
}