middleware

package
v0.0.0-...-4109721 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package middleware contains different middleware used on the API Gateway.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Auth

type Auth struct {
	Core *user.Core
}

Auth is the struct needed for the authorization.

func (*Auth) Middleware

func (a *Auth) Middleware(handler http.Handler) http.Handler

Middleware is the the middleware for the API key authorization.

Jump to

Keyboard shortcuts

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