almost there

This commit is contained in:
Zoe
2024-12-07 02:35:38 -06:00
parent f1ad13a216
commit d27cc71f1d
12 changed files with 707 additions and 586 deletions

9
pkg/config.go Normal file
View File

@@ -0,0 +1,9 @@
package pkg
type ProjectConfig struct {
Name string `json:"name,omitempty"`
Url string `json:"url,omitempty"`
Port uint16 `json:"port,omitempty"`
EnvFile string `json:"env_file,omitempty"`
Environment []string `json:"environment,omitempty"`
}

8
pkg/responses.go Normal file
View File

@@ -0,0 +1,8 @@
package pkg
type App struct {
ID int64 `json:"id,omitempty"`
Name string `json:"name,omitempty"`
DeploymentID int64 `json:"deployment_id,omitempty"`
DeploymentStatus string `json:"deployment_status,omitempty"`
}