utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2022 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CIDRHosts

func CIDRHosts(netw string) []string

CIDRHosts ...

func GetSubsFromArray

func GetSubsFromArray(datax []string, query string) *[]string

GetSubsFromArray ...

func MultiCIDRtoHosts

func MultiCIDRtoHosts(cidrs []string) []string

MultiCIDRtoHosts ...

func OrganizeData

func OrganizeData(raw []string, tldsize int) map[string][]string

OrganizeData : Organizes data its best to leave tld size to 2

func RegexGetCIDRs

func RegexGetCIDRs(dat []string) ([]string, string)

RegexGetCIDRs : returns cidr and basic filtering

func RegexSubsFromArray

func RegexSubsFromArray(datax []string, query string) *[]string

RegexSubsFromArray ...

func StringArraytoByteArr

func StringArraytoByteArr(dat []string) []byte

StringArraytoByteArr ...

func StringArrtoString

func StringArrtoString(dat []string) string

StringArrtoString ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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