hosting

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2016 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateServer added in v1.2.0

func CreateServer(accessCode string) error

func DeleteServer added in v1.2.0

func DeleteServer() error

func GetServerLog added in v1.2.0

func GetServerLog(lines int64) (string, error)

func PrepareArchive

func PrepareArchive(rootPath string) (string, int64, error)

func SendServerAction added in v1.2.0

func SendServerAction(action string) error

func UploadServer added in v1.2.0

func UploadServer(archivePath string, progressWriter io.Writer) error

func UploadStatic

func UploadStatic(archivePath string, progressWriter io.Writer) error

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL