whitelist

package
v0.0.0-...-c5f9841 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearIPList

func ClearIPList()

func IPList

func IPList() []string

func RegisterIP

func RegisterIP(ip string) error

func RemoveIP

func RemoveIP(ip string)

func Setup

func Setup(list []string) error

func VerifyIP

func VerifyIP(ip string) bool

VerifyIP check the ip is a legal ip or not

Types

This section is empty.

Jump to

Keyboard shortcuts

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