Documentation
¶
Index ¶
- type APIResponse
- type ApplicaitonNetworkData
- type Application
- type ApplicationBackup
- type ApplicationBackupCreated
- type ApplicationDeploys
- type ApplicationFileData
- type ApplicationFileInfo
- type ApplicationGithubWebhook
- type ApplicationListStatus
- type ApplicationLogs
- type ApplicationSignal
- type ApplicationStatus
- type ApplicationUploaded
- type User
- type UserApplication
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type ApplicaitonNetworkData ¶
type ApplicaitonNetworkData struct {
Hostname string `json:"hostname"`
Countries []struct {
Country string `json:"country"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"countries"`
Methods []struct {
Method string `json:"method"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"methods"`
Referers []struct {
Referer string `json:"referer"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"referers"`
Browsers []struct {
Browser string `json:"browser"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"browsers"`
DeviceTypes []struct {
Device string `json:"device"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"deviceTypes"`
OperatingSystems []struct {
Os string `json:"os"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"operatingSystems"`
Agents []struct {
Agent string `json:"agent"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"agents"`
Hosts []struct {
Host string `json:"host"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"hosts"`
Paths []struct {
Path string `json:"path"`
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"paths"`
Total struct {
Megabytes string `json:"megabytes"`
Visits int `json:"visits"`
Bytes int `json:"bytes"`
} `json:"total"`
}
type Application ¶
type ApplicationBackup ¶
type ApplicationDeploys ¶
type ApplicationFileData ¶
type ApplicationFileInfo ¶
type ApplicationGithubWebhook ¶
type ApplicationGithubWebhook struct {
Webhook string `json:"webhook"`
}
type ApplicationListStatus ¶
type ApplicationLogs ¶
type ApplicationLogs struct {
Logs string `json:"logs"`
}
type ApplicationSignal ¶
type ApplicationSignal string
const ( ApplicationSignalStart ApplicationSignal = "START" ApplicationSignalStop ApplicationSignal = "STOP" ApplicationSignalRestart ApplicationSignal = "RESTART" )
type ApplicationStatus ¶
type ApplicationStatus struct {
Network struct {
Total string `json:"total"`
Now string `json:"now"`
} `json:"network"`
CPU string `json:"cpu"`
RAM string `json:"ram"`
Status string `json:"status"`
Storage string `json:"storage"`
Requests int `json:"requests"`
Uptime int64 `json:"uptime"`
Running bool `json:"running"`
}
type ApplicationUploaded ¶
type ApplicationUploaded struct {
Language struct {
Name string `json:"name"`
Version string `json:"version"`
} `json:"language"`
ID string `json:"id"`
Tag string `json:"tag"`
Description string `json:"description"`
Subdomain string `json:"subdomain"`
Avatar string `json:"avatar"`
RAM int `json:"ram"`
CPU int `json:"cpu"`
}
type User ¶
type User struct {
ID string `json:"id"`
Name string `json:"name"`
Locale string `json:"locale"`
Email string `json:"email"`
Plan struct {
Name string `json:"name"`
Memory struct {
Limit int `json:"limit"`
Available int `json:"available"`
Used int `json:"used"`
} `json:"memory"`
Duration int64 `json:"duration"`
} `json:"plan"`
}
Click to show internal directories.
Click to hide internal directories.