Documentation
¶
Index ¶
- func BoolP(b bool) *bool
- func IntP(i int) *int
- func StringP(s string) *string
- type ConfigAndValidity
- type CreateConfigReq
- type CreateWorldDownloadURLRequest
- type CreateWorldDownloadURLResponse
- type CreateWorldLinkReq
- type CreateWorldUploadLinkReq
- type CreateWorldUploadURLRequest
- type CreateWorldUploadURLResponse
- type DelegatedURL
- type DeleteWorldReq
- type ErrorResponse
- type GenericResponse
- type GetLatestWorldIDResponse
- type InfoMessage
- type MCVersion
- type PageCode
- type PasswordCredential
- type PendingConfig
- type SessionData
- type SessionState
- type SnapshotConfiguration
- type StandardMessage
- type SuccessfulResponse
- type SysstatMessage
- type SystemInfo
- type UpdatePassword
- type World
- type WorldGeneration
- type WorldInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigAndValidity ¶
type ConfigAndValidity struct { IsValid bool `json:"isValid"` Config PendingConfig `json:"config"` }
type CreateConfigReq ¶
type CreateConfigReq struct {
}type CreateWorldDownloadURLRequest ¶
type CreateWorldDownloadURLRequest struct {
WorldID string `json:"worldId"`
}
type CreateWorldDownloadURLResponse ¶
type CreateWorldDownloadURLResponse struct {
URL string `json:"url"`
}
type CreateWorldLinkReq ¶
type CreateWorldLinkReq struct {
ID string `json:"id"`
}
type CreateWorldUploadURLRequest ¶
type CreateWorldUploadURLRequest struct {
WorldName string `json:"worldName"`
}
type DelegatedURL ¶
type DelegatedURL struct {
URL string `json:"url"`
}
type DeleteWorldReq ¶ added in v0.3.0
type DeleteWorldReq struct {
ID string `json:"id"`
}
type ErrorResponse ¶
type GenericResponse ¶
type GenericResponse struct { Success bool `json:"success"` ErrorCode entity.ErrorCode `json:"errorCode"` Data json.RawMessage `json:"data"` }
type GetLatestWorldIDResponse ¶
type GetLatestWorldIDResponse struct {
WorldID string `json:"worldId"`
}
type InfoMessage ¶
type PasswordCredential ¶
type PendingConfig ¶
type PendingConfig struct { MachineType *string `json:"machineType,omitempty"` ServerVersion *string `json:"serverVersion,omitempty"` GuessVersion *bool `json:"guessServerVersion,omitempty"` WorldSource *string `json:"worldSource,omitempty"` WorldName *string `json:"worldName,omitempty"` BackupGen *string `json:"backupGen,omitempty"` LevelType *string `json:"levelType,omitempty"` Seed *string `json:"seed,omitempty"` Motd *string `json:"motd,omitempty"` ServerPropOverride *map[string]string `json:"serverPropOverride,omitempty"` InactiveTimeout *int `json:"inactiveTimeout,omitempty"` }
type SessionData ¶
type SessionState ¶
type SessionState struct {
NeedsChangePassword bool `json:"needsChangePassword"`
}
type SnapshotConfiguration ¶
type SnapshotConfiguration struct {
Slot int `json:"slot"`
}
type StandardMessage ¶
type SuccessfulResponse ¶
type SysstatMessage ¶
type SystemInfo ¶
type UpdatePassword ¶
type World ¶
type World struct { WorldName string `json:"worldName"` Generations []WorldGeneration `json:"generations"` }
type WorldGeneration ¶
Click to show internal directories.
Click to hide internal directories.