Add client method to get project list

This commit is contained in:
2020-06-25 21:43:03 -04:00
parent 24c6701b01
commit 7772195f85
2 changed files with 18 additions and 0 deletions

View File

@@ -52,3 +52,11 @@ type ProjectSecretResponse struct {
Secret string `json:"secret"`
} `json:"content"`
}
type ProjectListResponse struct {
Ok bool `json:"ok"`
Message string `json:"message"`
Content struct {
Projects []storage.Project `json:"projects,omitempty"`
} `json:"content"`
}