Documentation
¶
Index ¶
- func DownloadFile(endpoint string, filePath string) error
- func DownloadNonSSMFile(url string, filePath string) error
- func GetPublicIP() (string, error)
- func SendFile(endpoint string, filepath string) error
- func SendGetRequest(endpoint string, returnModel interface{}) error
- func SendPostRequest(endpoint string, bodyModel interface{}, returnModel interface{}) error
- type APIError
- type HTTPRequestBody_Config
- type HttpRequestBody_ActiveState
- type HttpRequestBody_SFState
- type HttpResponseBody
- type HttpResponseBody_Backup
- type HttpResponseBody_Config
- type IP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
func DownloadNonSSMFile ¶
func GetPublicIP ¶
func SendGetRequest ¶
func SendPostRequest ¶
Types ¶
type HTTPRequestBody_Config ¶
type HttpRequestBody_ActiveState ¶
type HttpRequestBody_ActiveState struct {
Active bool `json:"active"`
}
type HttpRequestBody_SFState ¶
type HttpResponseBody ¶
type HttpResponseBody_Backup ¶
type HttpResponseBody_Config ¶
type HttpResponseBody_Config struct {
SFBranch string `json:"sfBranch"`
WorkerThreads int `json:"workerThreads"`
MaxPlayers int `json:"maxPlayers"`
UpdateOnStart bool `json:"checkForUpdatesOnStart"`
Backup HttpResponseBody_Backup `json:"backup"`
}
Click to show internal directories.
Click to hide internal directories.