inputparse

package
v0.0.0-...-f695da6 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseHost

func ParseHost(host string) ([]string, error)

Parse host from string. Input could be single host (10.0.0.0), CIDR Notation (172.16.0.0/16), or comma seperated (192.168.1.1,192.168.1.3,192.168.1.5)

func ParsePorts

func ParsePorts(ports string) ([]int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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