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 GetProject ¶ added in v1.0.0
type GetProject struct {
httpx.MethodGet
ProjectName string `in:"path" name:"projectName" validate:"@projectName"`
}
func (*GetProject) Output ¶ added in v1.0.0
func (r *GetProject) Output(ctx context.Context) (interface{}, error)
func (*GetProject) Path ¶ added in v1.0.0
func (r *GetProject) Path() string
type ListProject ¶
type ListProject struct {
httpx.MethodGet
project.ListProjectReq
}
type RemoveProject ¶
type RemoveProject struct {
httpx.MethodDelete
ProjectName string `in:"path" name:"projectName" validate:"@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.