Documentation ¶
Index ¶
Constants ¶
View Source
const (
APIPath = "/projects"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateProjectRequest ¶
type CreateProjectRequest struct {
Name string `json:"name"`
}
type CreateProjectResponse ¶
type ListProjectsResponse ¶
type ProjectsService ¶
type ProjectsService interface { CreateProjectHandler(w http.ResponseWriter, r *http.Request) GetProjectHandler(w http.ResponseWriter, r *http.Request) UpdateProjectHandler(w http.ResponseWriter, r *http.Request) ListProjectsHandler(w http.ResponseWriter, r *http.Request) DeleteProjectHandler(w http.ResponseWriter, r *http.Request) ListProjectMembers(w http.ResponseWriter, r *http.Request) AddProjectMember(w http.ResponseWriter, r *http.Request) RemoveProjectMember(w http.ResponseWriter, r *http.Request) }
func NewProjectService ¶
func NewProjectService(router *mux.Router, mw token.AuthMiddleware, repo repository.ProjectRepository) ProjectsService
type UpdateProjectRequest ¶
Click to show internal directories.
Click to hide internal directories.