Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VipTableConfCheck ¶
func VipTableConfCheck(conf *VipTableConf) error
Types ¶
type Product2Vip ¶
type Vip2Product ¶
type VipConf ¶
type VipConf struct { Version string // version of the config VipMap Vip2Product // vip => product }
func VipRuleConfLoad ¶
VipRuleConfLoad loads config of vip table from file.
type VipTableConf ¶
type VipTableConf struct { Version string // version of the config Vips Product2Vip // product => vip list }
func (*VipTableConf) LoadAndCheck ¶
func (conf *VipTableConf) LoadAndCheck(filename string) (string, error)
Click to show internal directories.
Click to hide internal directories.