package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jan 1, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetDefaultConfigDirectory 获取默认配置目录(用于服务配置)
func GetDefaultLogDirectory() string
GetDefaultLogDirectory 获取默认日志目录
func GetDefaultWorkspace() string
GetDefaultWorkspace 获取默认工作目录
func IsPrivilegedUser() bool
IsPrivilegedUser 检查当前是否为特权用户(root)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.