mirror of
https://github.com/nadoo/glider.git
synced 2025-02-24 01:45:39 +08:00
17 lines
322 B
Go
17 lines
322 B
Go
![]() |
// +build !linux
|
||
|
|
||
|
package main
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
type IPSetManager struct {
|
||
|
}
|
||
|
|
||
|
func NewIPSetManager(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")
|
||
|
}
|