mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
API节点启动失败后记录相关问题和处理建议
This commit is contained in:
17
internal/nodes/start_issue.go
Normal file
17
internal/nodes/start_issue.go
Normal 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,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user