Documentation
¶
Index ¶
- func CIDRinCIDR(cidr1 string, cidr2 string) (bool, error)
- func CIDRtoIPs(cidr string) ([]netip.Addr, error)
- func Contains(s []string, str string) bool
- func DataDir() (string, error)
- func IPinCIDR(ip string, cidr string) bool
- func IsCIDR(cidrStr string) bool
- func IsIP(ipStr string) bool
- func IsIPv4(addr string) bool
- func IsIPv6(addr string) bool
- func JuicyPorts() string
- func ReadFile(path string) ([]string, error)
- func RemoveFile(path string) error
- func RunCommand(output bool, cmd ...string) (io.Reader, io.Reader, error)
- func WriteTargetsToFile(targets *[]string) (string, error)
- func YesNoPrompt(label string, def bool) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataDir ¶
DataDir returns the path to ~/.massmap/ and ensures the directory exists. All persistent massmap data (cache, temp files) is stored here.
func JuicyPorts ¶
func JuicyPorts() string
func RemoveFile ¶
func WriteTargetsToFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.