Versions in this module Expand all Collapse all v2 v2.0.0 Jul 13, 2026 Changes in this version + type APIResponse struct + Code string + Message string + Response T + Status string + type AnalyticsBucket struct + Bytes int64 + Date time.Time + Requests int + Type string + Visits int + type AnalyticsTimeBucket struct + Bytes int64 + Date time.Time + Requests int + Visits int + type AnalyticsTotalBucket struct + Bytes int64 + Requests int + Type string + Visits int + type AppDomain struct + AppID string + Hostname string + Type AppDomainType + type AppDomainType string + const AppDomainTypeCustom + const AppDomainTypeSubdomain + type Application struct + Cluster string + CreatedAt time.Time + Custom *string + Description string + Domain *string + ID string + Language string + Name string + Owner string + RAM int + type ApplicationLanguage struct + Name string + Version string + type ApplicationLogs struct + Logs string + type ApplicationSignal string + const ApplicationSignalRestart + const ApplicationSignalStart + const ApplicationSignalStop + type ApplicationStatus struct + CPU string + Network ApplicationStatusNetwork + RAM string + Running bool + Status string + Storage string + Uptime *int64 + type ApplicationStatusListItem struct + CPU string + ID string + RAM string + Running bool + type ApplicationStatusNetwork struct + Now string + Total string + type ApplicationStatusNetworkRaw struct + Now [2]int64 + Total [2]int64 + type ApplicationStatusRaw struct + CPU float64 + Network ApplicationStatusNetworkRaw + RAM float64 + Running bool + Status string + Storage int64 + Uptime *int64 + type ApplicationUploaded struct + CPU int + Description string + ID string + Language ApplicationLanguage + Name string + RAM int + Subdomain string + type ByteArray []byte + func (b *ByteArray) UnmarshalJSON(data []byte) error + type DNSRecord struct + Name string + Status string + Type string + Value string + type Database struct + Cluster string + CreatedAt time.Time + ID string + Name string + Owner string + Port int + RAM int + Type DatabaseType + type DatabaseCertificate struct + Certificate string + type DatabaseCreateOptions struct + Memory int + Name string + Type DatabaseType + Version string + type DatabaseCreated struct + CPU int + Certificate string + Cluster string + ConnectionURL string + ID string + Memory int + Name string + Password string + Type DatabaseType + type DatabasePasswordReset struct + Password string + type DatabaseResetType string + const DatabaseResetCertificate + const DatabaseResetPassword + type DatabaseStatus = ApplicationStatus + type DatabaseStatusListItem = ApplicationStatusListItem + type DatabaseStatusRaw = ApplicationStatusRaw + type DatabaseType string + const DatabaseTypeMongo + const DatabaseTypeMySQL + const DatabaseTypePostgres + const DatabaseTypeRedis + type DatabaseUpdateOptions struct + Name string + RAM int + type Deployment struct + Branch string + Date time.Time + Files *DeploymentFiles + ID string + State DeploymentState + type DeploymentCurrent struct + App *DeploymentGithubApp + Webhook string + type DeploymentFiles struct + Added []string + Modified []string + Removed []string + type DeploymentGithubApp struct + Branch *string + ID *int64 + Name *string + type DeploymentState string + const DeploymentStateClone + const DeploymentStateCommit + const DeploymentStateError + const DeploymentStatePending + const DeploymentStateRestarting + const DeploymentStateSuccess + type EnvVars map[string]string + type FileContent struct + Data ByteArray + Type string + type FileInfo struct + LastModified int64 + Name string + Size int + Type FileType + type FileType string + const FileTypeDirectory + const FileTypeFile + type FileWritten struct + Written bool + type GithubAppLink struct + Repository GithubAppRepository + type GithubAppRepository struct + Branch string + FullName string + ID int64 + type GithubWebhook struct + Webhook string + type LoadBalancer struct + Apps []LoadBalancerApp + Hostname string + type LoadBalancerApp struct + Cluster string + ID string + Name string + type LoadBalancers struct + Balancers []LoadBalancer + Limit int + type MetricPoint struct + CPU float64 + Date time.Time + Net []float64 + RAM float64 + type NetworkAnalytics struct + Bots []AnalyticsTotalBucket + Browsers []AnalyticsBucket + ContentTypes []AnalyticsTotalBucket + Countries []AnalyticsBucket + Devices []AnalyticsBucket + IPs []AnalyticsTotalBucket + Methods []AnalyticsBucket + OS []AnalyticsBucket + Paths []AnalyticsBucket + Protocols []AnalyticsBucket + Providers []AnalyticsBucket + Referers []AnalyticsBucket + StatusCodes []AnalyticsTotalBucket + Visits []AnalyticsTimeBucket + type NetworkErrors struct + ByMethod []NetworkErrorsByMethod + ByStatus []NetworkErrorsByStatus + Summary NetworkErrorsSummary + Timeseries []NetworkErrorsTimeseries + TopPaths []NetworkErrorsTopPath + type NetworkErrorsByMethod struct + ByStatus map[string]int + Method *string + Total int + type NetworkErrorsByStatus struct + Requests int + Status int + type NetworkErrorsSummary struct + ByClass NetworkErrorsSummaryClass + Total int + type NetworkErrorsSummaryClass struct + Class4xx int + Class5xx int + type NetworkErrorsTimeseries struct + Buckets map[string]int + Date time.Time + Total int + type NetworkErrorsTopPath struct + ByStatus map[string]int + Method *string + Path string + Total int + type NetworkLatency struct + P50 float64 + P95 float64 + P99 float64 + type NetworkLog struct + Client NetworkLogClient + Request NetworkLogRequest + Response NetworkLogResponse + Timestamp time.Time + type NetworkLogClient struct + ASN string + Agent *string + Category *string + Country *string + IP *string + Location *string + type NetworkLogRequest struct + Host string + Method string + Mitigated bool + Path string + Protocol string + Query *string + Referer *string + type NetworkLogResponse struct + Cache *string + ContentType *string + Status int + type NetworkPerformance struct + Colos []NetworkPerformanceColo + Countries []NetworkPerformanceCountry + SlowestPaths []NetworkPerformanceSlowPath + Summary NetworkPerformanceSummary + Timeseries []NetworkPerformanceTimeseries + type NetworkPerformanceColo struct + City string + Country string + P50 float64 + P95 float64 + Requests int + Type string + type NetworkPerformanceCountry struct + P50 float64 + P95 float64 + Requests int + Type string + type NetworkPerformanceSlowPath struct + P95 float64 + P99 float64 + Path string + Requests int + type NetworkPerformanceSummary struct + Edge NetworkLatency + Origin NetworkLatency + Requests int + type NetworkPerformanceTimeseries struct + Date time.Time + Edge NetworkLatency + Origin NetworkLatency + Requests int + type RealtimeEvent struct + Data string + Event string + type ServiceStatus struct + Message string + Status string + type Snapshot struct + Key string + Modified time.Time + Name string + Size int + type SnapshotCreated struct + Key string + URL string + type SnapshotScope string + const SnapshotScopeApplications + const SnapshotScopeDatabases + type User struct + CreatedAt time.Time + Email string + ID string + Locale string + Name string + Plan UserPlan + type UserApplication struct + Cluster string + CreatedAt time.Time + Custom *string + Description string + Domain *string + ID string + Lang string + Name string + RAM int + type UserDatabase struct + Cluster string + CreatedAt time.Time + ID string + Name string + RAM int + Type string + type UserPlan struct + Duration *int64 + Memory UserPlanMemory + Name string + type UserPlanMemory struct + Available int + Limit int + Used int + type Workspace struct + Applications []WorkspaceApp + CreatedAt time.Time + ID string + Members []WorkspaceMember + Name string + Owner string + type WorkspaceApp struct + Custom *string + Description *string + Domain *string + ID string + Lang string + Name string + RAM int + type WorkspaceCreated struct + ID string + Name string + type WorkspaceInviteCode struct + Code string + type WorkspaceMember struct + Group WorkspaceMemberGroup + ID string + JoinedAt time.Time + Name string + type WorkspaceMemberGroup string + const WorkspaceGroupAdmin + const WorkspaceGroupMaintain + const WorkspaceGroupManager + const WorkspaceGroupOwner + const WorkspaceGroupView Other modules containing this package github.com/squarecloudofc/sdk-api-go