strategy.go 595 字节
Newer Older
E
eoLinker API Management 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
package entity

type Strategy struct {
	StrategyID   string
	StrategyName string
	Auth         string
	EnableStatus int
	StrategyType int
}

//
//func (s *Strategy)Enable()bool  {
//	return s.EnableStatus ==1
//}

type StrategyPluginItem struct {
	StrategyID   string
	PluginName   string
	PluginConfig string
	UpdateTag    string
	//PluginInfo string
	//PluginStatus int
}
type StrategyApiPlugin struct {
	ApiId        string
	StrategyID   string
	PluginName   string
	PluginConfig string
	UpdateTag    string
}
type StrategyApi struct {
	ApiId      int
	StrategyID string
	Target     string
}