mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-08 19:40:24 +08:00
管理员也支持AccessKey,Rest API增加所有的服务
This commit is contained in:
@@ -27,16 +27,21 @@ import (
|
||||
"os/exec"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
)
|
||||
|
||||
var sharedAPIConfig *configs.APIConfig = nil
|
||||
|
||||
type APINode struct {
|
||||
serviceInstanceMap map[string]interface{}
|
||||
serviceInstanceLocker sync.Mutex
|
||||
}
|
||||
|
||||
func NewAPINode() *APINode {
|
||||
return &APINode{}
|
||||
return &APINode{
|
||||
serviceInstanceMap: map[string]interface{}{},
|
||||
}
|
||||
}
|
||||
|
||||
func (this *APINode) Start() {
|
||||
|
||||
Reference in New Issue
Block a user