Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudAuthInfo ¶
type MCServerInfo ¶
type MCServerInfo struct { ServerName string `json:"server_name"` RemoteServerIP string `json:"remote_server_ip"` RemoteServerPort string `json:"remote_server_port"` InstanceID string `json:"instance_id"` RconPort string `json:"rcon_port"` RconPassword string `json:"rcon_password"` ShutdownAfterNoPlayerSecond int64 `json:"shutdown_after_no_player_second"` ShutdownAfterNoPlayerCheckIntervalSecond int64 `json:"shutdown_after_no_player_check_interval_second"` }
type MinecraftServerRequest ¶
type MinecraftServerRequest struct { Type consts.ActionType `json:"type"` ServerID *int64 `json:"server_id"` ServerName *string `json:"server_name"` Message *string `json:"message"` }
type MinecraftServerResponse ¶
type MinecraftServerResponse struct { ServerList []*RequestServerListItem `json:"server_list,omitempty"` ServerStatus *ServerStatus `json:"server_status,omitempty"` Message string `json:"message,omitempty"` }
type RequestServerListItem ¶
type ServerConfig ¶
type ServerConfig struct { AlicloudConfig *CloudAuthInfo `json:"alicloud_config"` MinecraftServerConfig []*MCServerInfo `json:"minecraft_server_config"` }
Click to show internal directories.
Click to hide internal directories.