middleware

package
v0.0.0-...-c89dbd5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlbumContextHandler

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

func CreateAlbumContextHandler

func CreateAlbumContextHandler(logger *zap.Logger, albumTable *db.CouchTable) *AlbumContextHandler

func (*AlbumContextHandler) Middleware

func (albumCtx *AlbumContextHandler) Middleware(next http.Handler) http.Handler

type AuthClaims

type AuthClaims struct {
	Id string `json:"id"`

	jwt.RegisteredClaims
}

type AuthHandler

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

func CreateAuthHandler

func CreateAuthHandler(logger *zap.Logger, userTable *db.CouchTable) *AuthHandler

func (*AuthHandler) Middleware

func (auth *AuthHandler) Middleware(next http.Handler) http.Handler

Jump to

Keyboard shortcuts

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