1Panel/cmd/server/main.go
ssongliu 9cdc4a7303
Some checks failed
sync2gitee / repo-sync (push) Failing after -6m54s
feat: agent 功能代码拆分
2024-07-22 16:14:59 +08:00

22 lines
500 B
Go

package main
import (
_ "net/http/pprof"
_ "github.com/1Panel-dev/1Panel/cmd/server/docs"
"github.com/1Panel-dev/1Panel/server"
)
// @title 1Panel
// @version 1.0
// @description 开源Linux面板
// @termsOfService http://swagger.io/terms/
// @license.name Apache 2.0
// @license.url http://www.apache.org/licenses/LICENSE-2.0.html
// @host localhost
// @BasePath /api/v1
//go:generate swag init -o ./docs -g main.go -d ../../backend -g ../cmd/server/main.go
func main() {
server.Start()
}