Documentation
¶
Index ¶
- func CreateServer(accessCode string) error
- func DeleteServer() error
- func GetServerLog(lines int64) (string, error)
- func PrepareArchive(rootPath string) (string, int64, error)
- func SendServerAction(action string) error
- func UploadServer(archivePath string, progressWriter io.Writer) error
- func UploadStatic(archivePath string, progressWriter io.Writer) error
- type ServerStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServer ¶ added in v1.2.0
func DeleteServer ¶ added in v1.2.0
func DeleteServer() error
func GetServerLog ¶ added in v1.2.0
func SendServerAction ¶ added in v1.2.0
func UploadServer ¶ added in v1.2.0
Types ¶
type ServerStatus ¶ added in v1.2.0
type ServerStatus struct {
Status string `json:"status"`
}
func GetServerStatus ¶ added in v1.2.0
func GetServerStatus() (ServerStatus, error)
Click to show internal directories.
Click to hide internal directories.