Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCfgPath ¶
GetCfgPath returns the path to the configuration file.
Priority: 1. If filename is an absolute path, return it directly. 2. Check ./{filename} and ./configs/{filename} 3. Otherwise, fallback to /etc/unla/{filename}
func GetPIDPath ¶
GetPIDPath returns the path to the PID file.
Priority: 1. If filename is an absolute path, return it directly. 2. Check ./{filename} and ./configs/{filename} 3. Otherwise, fallback to /var/run/mcp-gateway.pid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.