Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseResponse ¶
func BadRequestResponse ¶
func BadRequestResponse(err error) BaseResponse
func PrepareResponse ¶
func PrepareResponse(code int, description string, err string) BaseResponse
func SuccessResponse ¶
func SuccessResponse() BaseResponse
type Project ¶
type ProjectsResponse ¶
type ProjectsResponse struct {
Response BaseResponse `json:"response"`
Projects []*Project `json:"projects"`
}
type Task ¶
type TasksResponse ¶
type TasksResponse struct {
Response BaseResponse `json:"response"`
Tasks []*Task `json:"tasks"`
}
Click to show internal directories.
Click to hide internal directories.