service

package
v0.0.0-...-28ab817 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessRenewals

func ProcessRenewals()

Types

type JWTService

type JWTService interface {
	GenerateToken(email string, isUser bool) string
	ValidateToken(token string) (bool, error)
}

JWTService is an interface around our JWT auth package

func JWTAuthService

func JWTAuthService() JWTService

JWTAuthService constructor for the service

Jump to

Keyboard shortcuts

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