Documentation ¶
Index ¶
- type IPDB
- func (db *IPDB) AddFilter(name string, elements map[string]interface{}) error
- func (db *IPDB) AddPool(name string, addresses []interface{}) error
- func (db *IPDB) AddServerPool(name string, addresses map[string]interface{}) error
- func (db *IPDB) GetFilter(name string) *ippool.Filter
- func (db *IPDB) GetFilterCopy(name string) (ippool.Filter, bool)
- func (db *IPDB) GetPool(name string) *ippool.Pool
- func (db *IPDB) GetPoolCopy(name string) (ippool.Pool, bool)
- func (db *IPDB) GetServerPool(name string) *ippool.ServerPool
- func (db *IPDB) GetServerPoolCopy(name string) (ippool.ServerPool, bool)
- func (db *IPDB) Init()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPDB ¶
type IPDB struct {
// contains filtered or unexported fields
}
struct what contain all pools and filters in programm
func (*IPDB) AddServerPool ¶
add servers pool to db
func (*IPDB) GetFilterCopy ¶ added in v0.2.2
...
func (*IPDB) GetPoolCopy ¶ added in v0.2.2
...
func (*IPDB) GetServerPoolCopy ¶ added in v0.2.2
func (db *IPDB) GetServerPoolCopy(name string) (ippool.ServerPool, bool)
...
Click to show internal directories.
Click to hide internal directories.