mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-02 22:10:26 +08:00
实现缓存策略的部分功能
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAPI/internal/apis"
|
||||
"github.com/TeaOSLab/EdgeAPI/internal/apps"
|
||||
teaconst "github.com/TeaOSLab/EdgeAPI/internal/const"
|
||||
"github.com/TeaOSLab/EdgeAPI/internal/nodes"
|
||||
_ "github.com/TeaOSLab/EdgeAPI/internal/tasks"
|
||||
_ "github.com/iwind/TeaGo/bootstrap"
|
||||
)
|
||||
@@ -14,6 +14,6 @@ func main() {
|
||||
app.Product(teaconst.ProductName)
|
||||
app.Usage(teaconst.ProcessName + " [start|stop|restart]")
|
||||
app.Run(func() {
|
||||
apis.NewAPINode().Start()
|
||||
nodes.NewAPINode().Start()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user