mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 17:35:40 +08:00
19 lines
457 B
Go
19 lines
457 B
Go
// +build !linux
|
|
|
|
package main
|
|
|
|
import "errors"
|
|
|
|
// IPSetManager struct
|
|
type IPSetManager struct{}
|
|
|
|
// NewIPSetManager returns a IPSetManager
|
|
func NewIPSetManager(mainSet string, rules []*RuleConf) (*IPSetManager, error) {
|
|
return nil, errors.New("ipset not supported on this os")
|
|
}
|
|
|
|
// AddDomainIP implements the DNSAnswerHandler function
|
|
func (m *IPSetManager) AddDomainIP(domain, ip string) error {
|
|
return errors.New("ipset not supported on this os")
|
|
}
|