cmd

package
v4.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSVtoEndpoints

func CSVtoEndpoints(csv string) (eps []secop.Endpoint, err error)

CSVtoEndpoints takes a comma-separated string of endpoints, and parses to a []secop.Endpoint

func CSVtoIPs

func CSVtoIPs(csv string) (ips []net.IP, err error)

CSVtoIPs takes a comma-separated string of IPs, and parses to a []net.IP

Types

type KeyValue

type KeyValue map[string][]string

func (KeyValue) Set

func (k KeyValue) Set(kv string) error

func (KeyValue) String

func (k KeyValue) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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