mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
22 lines
302 B
Go
22 lines
302 B
Go
package config
|
|
|
|
import "os"
|
|
|
|
const (
|
|
HOME = ".kubevpn"
|
|
Daemon = "daemon"
|
|
|
|
PortPath = "daemon_port"
|
|
SudoPortPath = "sudo_daemon_port"
|
|
|
|
PidPath = "daemon_pid"
|
|
SudoPidPath = "sudo_daemon_pid"
|
|
)
|
|
|
|
func init() {
|
|
err := os.MkdirAll(DaemonPath, os.ModePerm)
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|