middlewares

package
v0.0.0-...-a55f869 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: MIT Imports: 9 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 AuthToken

func AuthToken() gin.HandlerFunc

AuthToken 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