Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/project"))
Functions ¶
This section is empty.
Types ¶
type CreateProject ¶
type CreateProject struct { httpx.MethodPost project.CreateProjectReq `in:"body"` }
type GetProjectByProjectID ¶
type GetProjectByProjectID struct { httpx.MethodGet ProjectID types.SFID `in:"path" name:"projectID"` }
func (*GetProjectByProjectID) Output ¶
func (r *GetProjectByProjectID) Output(ctx context.Context) (interface{}, error)
func (*GetProjectByProjectID) Path ¶
func (r *GetProjectByProjectID) Path() string
type ListProject ¶
type ListProject struct { httpx.MethodGet project.ListProjectReq }
type RemoveProject ¶
type RemoveProject struct { httpx.MethodDelete ProjectName string `in:"path" name:"projectName"` }
func (*RemoveProject) Output ¶
func (r *RemoveProject) Output(ctx context.Context) (interface{}, error)
func (*RemoveProject) Path ¶
func (r *RemoveProject) Path() string
Click to show internal directories.
Click to hide internal directories.