Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigPaths = []string{
"/etc/minecraft-sidecart/daemon.json",
"$HOME/.config/minecraft-sidecart/daemon.json",
}
ConfigPaths holds paths to look for the daemon configuration file. We'll try the first entry and then the next until we find a valid entry. If no entry is found, we'll create an empty config and save it in the last path.
View Source
var DefaultRootDir = os.TempDir()
Functions ¶
func DefaultAddress ¶
Types ¶
type RPCDaemon ¶
type RPCDaemon struct {
// contains filtered or unexported fields
}
func NewRPCDaemon ¶
type ServerSpec ¶
Click to show internal directories.
Click to hide internal directories.