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 ProjectName string `in:"path" name:"projectName"` strategy.CreateStrategyBatchReq `in:"body"` }
func (*CreateStrategy) Output ¶
func (r *CreateStrategy) Output(ctx context.Context) (interface{}, error)
func (*CreateStrategy) Path ¶
func (r *CreateStrategy) Path() string
type GetStrategy ¶
type GetStrategy struct { httpx.MethodGet ProjectName string `in:"path" name:"projectName"` StrategyID types.SFID `in:"path" name:"strategyID"` }
func (*GetStrategy) Path ¶
func (r *GetStrategy) Path() string
type ListStrategy ¶
type ListStrategy struct { httpx.MethodGet ProjectName string `in:"path" name:"projectName"` strategy.ListStrategyReq }
func (*ListStrategy) Output ¶
func (r *ListStrategy) Output(ctx context.Context) (interface{}, error)
func (*ListStrategy) Path ¶
func (r *ListStrategy) Path() string
type RemoveStrategy ¶
type RemoveStrategy struct { httpx.MethodDelete strategy.RemoveStrategyReq }
func (*RemoveStrategy) Output ¶
func (r *RemoveStrategy) Output(ctx context.Context) (interface{}, error)
func (*RemoveStrategy) Path ¶
func (r *RemoveStrategy) Path() string
type UpdateStrategy ¶
type UpdateStrategy struct { httpx.MethodPut ProjectName string `in:"path" name:"projectName"` StrategyID types.SFID `in:"path" name:"strategyID"` strategy.CreateStrategyReq `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.