Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + func CreateStrategy(c *gin.Context) + func DeleteStrategy(c *gin.Context) + func GetStrategy(c *gin.Context) + func GetStrategys(c *gin.Context) + func MetricQuery(c *gin.Context) + func Routes(r *gin.Engine) + func UpdateStrategy(c *gin.Context) + type APICreateStrategyInput struct + Func string + MaxStep int + Metric string + Note string + Op string + Priority int + RightValue string + RunBegin string + RunEnd string + Tags string + TplId int64 + func (this APICreateStrategyInput) CheckFormat() (err error) + type APIUpdateStrategyInput struct + Func string + ID int64 + MaxStep int + Metric string + Note string + Op string + Priority int + RightValue string + RunBegin string + RunEnd string + Tags string + func (this APIUpdateStrategyInput) CheckFormat() (err error)