package
0.0.0-20210609024526-b33f08cfa974
Repository: https://github.com/jlmeeker/mcmanager.git
Documentation: pkg.go.dev

# Functions

AuthorizeMiddleware middleware.
Hostname takes the flag value and calculates the best attempt at a hostname.
LoadServer creates a new instance of Server from an existing serverdir.
LoadServers loads servers from disk and caches results.
NewServer creates a new instance of Server, and sets up the serverdir.
NextAvailablePort will return the next available server port one should loadServers() before this to ensure accurate data.
No description provided by the author
No description provided by the author
No description provided by the author
ServersWebView is a web view of a list of servers.
ServersWithPlayer returns a list of servers the Op owns or is an op on.

# Variables

DEFAULTSERVERPROPERTIES is the default server properties file.
HOSTNAME is where we store the flag value.
Java version commands.
Java version commands.
Servers is the global list of managed servers.

# Structs

Op is the structure of an op within the ops.json file.
No description provided by the author
Server is an instance of a server, tracked during runtime.
WebView web view of a server instance.
WLPlayer is the structure of a payer within the whitelist.json file.

# Type aliases

No description provided by the author
Properties is a hash of key:value pairs contained in the server.properties file.