service

package
v0.0.0-...-6043d07 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthService

func NewAuthService() *authService

Types

type IAuthService

type IAuthService interface {
	VerifyToken(ctx context.Context, token string) (*model.AuthClaims, error)
	GenerateToken(ctx context.Context, userClaims *model.AuthClaims) (string, error)
}

Jump to

Keyboard shortcuts

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