IOTools

package
v0.942.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBlacklistFilter

func CreateBlacklistFilter(addresses []net.IP) Types.IOFilter

func CreateWhitelistFilter

func CreateWhitelistFilter(addresses []net.IP) Types.IOFilter

func LoadList

func LoadList(whitelist string, blacklist string) (Types.IOFilter, error)

func ParseAddresses

func ParseAddresses(fileLines []string) []net.IP

func ReadLines

func ReadLines(filePath string) ([]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