loadlists

package
v0.0.0-...-7f07686 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DomainsFileName = "domains"
	URLsFileName    = "urls"
	IPsFileName     = "ips"
)

Variables

View Source
var ErrBufferOverflow = errors.New("can not read a line from file. Line is too long")
View Source
var (
	ErrIncorrectFileType = errors.New("incorrect file type. Can not load the file")
)
View Source
var ErrParseIP = errors.New("can not parse resource line as net.IP from a file")

Functions

func Load

func Load(cl *cclient.CClient, logger *zap.Logger, simulate bool, rootDir, match, replace string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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