Example #1
0
func (n None) DeleteVip(vip core.Vip) error {
	err := common.DeleteVip(vip)
	if err != nil {
		return err
	}
	if database.CentralStore {
		return database.DeleteVip(vip)
	}
	return nil
}
Example #2
0
func (r Redis) DeleteVip(vip core.Vip) error {
	return common.DeleteVip(vip)
}