firewall

package
v0.0.0-...-b6e34ba Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Allows

func Allows(ip string) bool

func Del

func Del(ip, match string)

func DelAllow

func DelAllow(ip string)

func DelDeny

func DelDeny(ip string)

func IsAllowClient

func IsAllowClient(client net.Conn) bool

func Set

func Set(ip, value string, ttl int64)

func SetAllow

func SetAllow(ip string, ttl int64)

func SetDeny

func SetDeny(ip string, ttl int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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