middlewares

package
v0.0.0-...-48543aa Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthACL

func AuthACL() gin.HandlerFunc

AuthACL Initial

func CheckValidIP

func CheckValidIP(c *gin.Context, ip string)

CheckValidIP Checking Valid IP

func ChekcIPRange

func ChekcIPRange(wip []string, addr string) bool

ChekcIPRange Check ACL Addr range for ip and subneting

Types

This section is empty.

Jump to

Keyboard shortcuts

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