utils

package
v0.1.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPToCIDR

func IPToCIDR(ip string, netmask string) string

IPToCIDR will do like 0.0.0.0/255.255.255.0 to 0.0.0.0/24

func Intersection

func Intersection(a, b []string) (ret []string)

Intersection will do intersection

func Intersections

func Intersections(input [][]string) (ret []string)

Intersections will do many intersection

func SHA256String

func SHA256String(str string) string

SHA256String will do SHA256 String

Types

This section is empty.

Jump to

Keyboard shortcuts

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