security

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Insecurity

func Insecurity(log contract.Logger) contract.Security

Insecurity creates a new Empty security instance.

Types

type Empty

type Empty struct {
	Log contract.Logger
}

Empty doesn't implement any security.

func (Empty) Enrich

func (sec Empty) Enrich(req *http.Request, log contract.Logger)

Enrich does nothing.

func (Empty) GetName

func (sec Empty) GetName() string

GetName returns nothing.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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