Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSession ¶
CreateSession starts a named tmux session that runs a single command. If a session is already active, a new window for the server will be created.
func IsServerRunning ¶
IsServerRunning checks if a window with the given name exists.
func IsSessionRunning ¶
func IsSessionRunning() bool
IsSessionRunning checks if our Minecraft tmux session is running.
func ListSessions ¶
ListSessions gets the list of active tmux sessions.
func ListWindows ¶
ListWindows gets the list of active tmux windows.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.