forked from mudrii/openclaw-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.go
More file actions
30 lines (24 loc) · 793 Bytes
/
config.go
File metadata and controls
30 lines (24 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package dashboard
import appconfig "github.com/mudrii/openclaw-dashboard/internal/appconfig"
type BotConfig = appconfig.BotConfig
type ThemeConfig = appconfig.ThemeConfig
type RefreshConfig = appconfig.RefreshConfig
type ServerConfig = appconfig.ServerConfig
type AIConfig = appconfig.AIConfig
type LogsConfig = appconfig.LogsConfig
type AlertsConfig = appconfig.AlertsConfig
type MetricThreshold = appconfig.MetricThreshold
type SystemConfig = appconfig.SystemConfig
type Config = appconfig.Config
func defaultConfig() Config {
return appconfig.Default()
}
func loadConfig(dir string) Config {
return appconfig.Load(dir)
}
func readDotenv(path string) map[string]string {
return appconfig.ReadDotenv(path)
}
func expandHome(path string) string {
return appconfig.ExpandHome(path)
}