mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
Add client method to get project list
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user