blacklist_hdl

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func New

func New(p string) (*Handler, error)

func (*Handler) Add

func (h *Handler) Add(_ context.Context, v string) error

func (*Handler) Init

func (h *Handler) Init() error

func (*Handler) List

func (h *Handler) List(_ context.Context) ([]string, error)

func (*Handler) Remove

func (h *Handler) Remove(_ context.Context, v string) error

func (*Handler) SetValidationFunc

func (h *Handler) SetValidationFunc(f func(v string) error)

Jump to

Keyboard shortcuts

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