Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = kit.NewRouter(httptransport.Group("/strategy"))
Functions ¶
This section is empty.
Types ¶
type CreateStrategy ¶
type CreateStrategy struct {
httpx.MethodPost
strategy.CreateReq `in:"body"`
}
type GetStrategy ¶
func (*GetStrategy) Path ¶
func (r *GetStrategy) Path() string
type ListStrategy ¶
type RemoveStrategy ¶
type RemoveStrategy struct {
httpx.MethodDelete
strategy.CondArgs
}
type UpdateStrategy ¶
type UpdateStrategy struct {
httpx.MethodPut
StrategyID types.SFID `in:"path" name:"strategyID"`
strategy.UpdateReq `in:"body"`
}
func (*UpdateStrategy) Output ¶
func (r *UpdateStrategy) Output(ctx context.Context) (interface{}, error)
func (*UpdateStrategy) Path ¶
func (r *UpdateStrategy) Path() string
Click to show internal directories.
Click to hide internal directories.