Documentation
¶
Index ¶
- func Execute()
- func GetServerBinaryPath() (string, error)
- func IsProcessRunning(pid int) bool
- func KillProcess(pid int, graceful bool) error
- func ReadPID() (int, error)
- func RemovePID() error
- func SavePID(pid int) error
- func StartServer(serverPath string, port int, host string) (int, error)
- func StartServerWithServeCommand(cliPath string, port int, host string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServerBinaryPath ¶
GetServerBinaryPath returns the path to the server binary
func IsProcessRunning ¶
IsProcessRunning checks if a process with the given PID is running
func KillProcess ¶
KillProcess kills a process with the given PID
func StartServer ¶
StartServer starts the server in the background
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.