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 }
func (r Redis) DeleteVip(vip core.Vip) error { return common.DeleteVip(vip) }