mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-12-26 18:15:59 +08:00
v2.0
This commit is contained in:
21
server/internal/global/static.go
Normal file
21
server/internal/global/static.go
Normal file
@@ -0,0 +1,21 @@
|
||||
// Package global
|
||||
// @Link https://github.com/bufanyun/hotgo
|
||||
// @Copyright Copyright (c) 2022 HotGo CLI
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
//
|
||||
package global
|
||||
|
||||
import (
|
||||
"hotgo/internal/model"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
var (
|
||||
// RootPtah 运行根路径
|
||||
RootPtah string
|
||||
// SysType 操作系统类型 windows | linux
|
||||
SysType = runtime.GOOS
|
||||
// MonitorData 监控数据
|
||||
MonitorData model.MonitorData
|
||||
)
|
||||
Reference in New Issue
Block a user