middleware

package
v0.0.0-...-7efebb4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const LoginPathPattern = `^/users/(signup|login)`

Variables

This section is empty.

Functions

This section is empty.

Types

type LoginJWTBuilder

type LoginJWTBuilder struct {
	LoginPathRegExp *regexp.Regexp
}

func NewLoginJWTBuilder

func NewLoginJWTBuilder(loginPathRegExp *regexp.Regexp) *LoginJWTBuilder

func (*LoginJWTBuilder) Build

func (builder *LoginJWTBuilder) Build() gin.HandlerFunc

type LoginMiddlewareBuilder

type LoginMiddlewareBuilder struct {
}

func (*LoginMiddlewareBuilder) Build

Jump to

Keyboard shortcuts

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