Documentation
¶
Index ¶
- Constants
- type Server
- func (sv *Server) Comments(ctx echo.Context, projectId string, issueId string, params api.CommentsParams) error
- func (sv *Server) Customers(ctx echo.Context, params api.CustomersParams) error
- func (sv *Server) GetComment(ctx echo.Context, projectId string, issueId string, id string) error
- func (sv *Server) GetCustomer(ctx echo.Context, id string) error
- func (sv *Server) GetIssue(ctx echo.Context, projectId string, id string) error
- func (sv *Server) GetProject(ctx echo.Context, id string) error
- func (sv *Server) GetUser(ctx echo.Context, id string) error
- func (sv *Server) Issues(ctx echo.Context, projectId string, params api.IssuesParams) error
- func (sv *Server) NewComment(ctx echo.Context, projectId string, issueId string) error
- func (sv *Server) NewCustomer(ctx echo.Context) error
- func (sv *Server) NewIssue(ctx echo.Context, projectId string) error
- func (sv *Server) NewProject(ctx echo.Context) error
- func (sv *Server) Projects(ctx echo.Context, params api.ProjectsParams) error
- func (sv *Server) UpdateComment(ctx echo.Context, projectId string, issueId string, id string) error
- func (sv *Server) UpdateCustomer(ctx echo.Context, id string) error
- func (sv *Server) UpdateIssue(ctx echo.Context, projectId string, id string) error
- func (sv *Server) UpdateProject(ctx echo.Context, id string) error
- func (sv *Server) Users(ctx echo.Context, params api.UsersParams) error
Constants ¶
const ( // DefaultCustomerID TODO NOT THIS. DefaultCustomerID = "a4a777ff-fd47-42ab-84b4-1cca19a51f8f" // DefaultReporter TODO NOT THIS. DefaultReporter = "34a20135-1c9b-4c4d-b590-7771207ed847" // DefaultAuthor TODO NOT THIS. DefaultAuthor = "3fbecb27-1f23-4ed0-91e4-68f97a1f0364" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents all server handlers.
func (*Server) Comments ¶
func (sv *Server) Comments(ctx echo.Context, projectId string, issueId string, params api.CommentsParams) error
Comments Get a list of Comments. (GET /projects/{project_id}/issues/{issue_id}/comments).
func (*Server) Customers ¶
func (sv *Server) Customers(ctx echo.Context, params api.CustomersParams) error
Customers Get a list of customers. (GET /customers).
func (*Server) GetComment ¶
GetComment (GET /projects/{project_id}/issues/{issue_id}/comments/{id}).
func (*Server) GetCustomer ¶
GetCustomer (GET /customers/{id}).
func (*Server) GetProject ¶
GetProject (GET /projects/{id}).
func (*Server) Issues ¶
func (sv *Server) Issues(ctx echo.Context, projectId string, params api.IssuesParams) error
Issues Get a list of issues. (GET /projects/{project_id}/issues).
func (*Server) NewComment ¶
NewComment Create a comment on a issue. (POST /projects/{project_id}/issues/{issue_id}/comments).
func (*Server) NewCustomer ¶
NewCustomer Create a customer. (POST /customers).
func (*Server) NewProject ¶
NewProject Create a project. (POST /projects).
func (*Server) Projects ¶
func (sv *Server) Projects(ctx echo.Context, params api.ProjectsParams) error
Projects Get a list of projects. (GET /projects).
func (*Server) UpdateComment ¶
func (sv *Server) UpdateComment(ctx echo.Context, projectId string, issueId string, id string) error
UpdateComment (PUT /projects/{project_id}/issues/{issue_id}/comments/{id}).
func (*Server) UpdateCustomer ¶
UpdateCustomer Update a customer. (PUT /customers/{id}).
func (*Server) UpdateIssue ¶
UpdateIssue (PUT /projects/{project_id}/issues/{id}).
func (*Server) UpdateProject ¶
UpdateProject Update a project. (PUT /projects/{id}).