glider/ipset_other.go

17 lines
338 B
Go

// +build !linux
package main
import "errors"
type IPSetManager struct {
}
func NewIPSetManager(mainSet string, rules []*RuleConf) (*IPSetManager, error) {
return nil, errors.New("ipset not supported on this os")
}
func (m *IPSetManager) AddDomainIP(domain, ip string) error {
return errors.New("ipset not supported on this os")
}