Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/project_operator"))
Functions ¶
This section is empty.
Types ¶
type CreateProjectOperator ¶
type CreateProjectOperator struct {
httpx.MethodPost
ProjectID types.SFID `in:"path" name:"projectID"`
OperatorID types.SFID `in:"path" name:"operatorID"`
}
func (*CreateProjectOperator) Output ¶
func (r *CreateProjectOperator) Output(ctx context.Context) (interface{}, error)
func (*CreateProjectOperator) Path ¶
func (r *CreateProjectOperator) Path() string
type GetProjectOperator ¶
type GetProjectOperator struct {
httpx.MethodGet
ProjectID types.SFID `in:"path" name:"projectID"`
}
func (*GetProjectOperator) Output ¶
func (r *GetProjectOperator) Output(ctx context.Context) (interface{}, error)
func (*GetProjectOperator) Path ¶
func (r *GetProjectOperator) Path() string
type RemoveProjectOperator ¶
type RemoveProjectOperator struct {
httpx.MethodDelete
ProjectID types.SFID `in:"path" name:"projectID"`
}
func (*RemoveProjectOperator) Output ¶
func (r *RemoveProjectOperator) Output(ctx context.Context) (interface{}, error)
func (*RemoveProjectOperator) Path ¶
func (r *RemoveProjectOperator) Path() string
Click to show internal directories.
Click to hide internal directories.