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