ipmanager

package
v0.0.0-...-b7cb1fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPManagerLocal

type IPManagerLocal struct {
	// contains filtered or unexported fields
}

func NewIPManagerLocal

func NewIPManagerLocal(conf *config.Config) (IPManagerLocal, error)

func (*IPManagerLocal) AddIP

func (ipManLocal *IPManagerLocal) AddIP(ip string) error

func (*IPManagerLocal) CheckIP

func (ipManLocal *IPManagerLocal) CheckIP(ip string) error

func (*IPManagerLocal) DeleteAllIP

func (ipManLocal *IPManagerLocal) DeleteAllIP()

func (*IPManagerLocal) DeleteIP

func (ipManLocal *IPManagerLocal) DeleteIP(ip string) error

func (*IPManagerLocal) GetAllIP

func (ipManLocal *IPManagerLocal) GetAllIP() ([]*net.IPNet, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL