whitelist

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WhiteList

type WhiteList struct {
	// contains filtered or unexported fields
}

func New

func New(addresses []string) *WhiteList

func (*WhiteList) Check

func (w *WhiteList) Check(addr string) bool

func (*WhiteList) GinHandler

func (w *WhiteList) GinHandler(c *gin.Context)

Jump to

Keyboard shortcuts

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