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"`
}
type ListOperator ¶ added in v1.2.2
func (*ListOperator) Output ¶ added in v1.2.2
func (r *ListOperator) Output(ctx context.Context) (interface{}, error)
func (*ListOperator) Path ¶ added in v1.2.2
func (r *ListOperator) 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.