middleware

package
v0.0.0-...-ed99e2d Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middlewarer

type Middlewarer interface {
	CheckJWT() func(http.Handler) http.Handler
}

Middlewarer interface

func NewMiddleware

func NewMiddleware(
	logger *zap.Logger,
	jwter jwts.JWTer,
) Middlewarer

NewMiddleware returns Server interface

Jump to

Keyboard shortcuts

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