services

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenService

func NewTokenService(tokenRepo repositories.TokenRepository) services.TokenService

Types

type Argon2PasswordService

type Argon2PasswordService struct{}

func NewArgon2PasswordService

func NewArgon2PasswordService() *Argon2PasswordService

func (*Argon2PasswordService) Hash

func (p *Argon2PasswordService) Hash(password string) (string, error)

func (*Argon2PasswordService) Verify

func (p *Argon2PasswordService) Verify(password, encoded string) bool

Jump to

Keyboard shortcuts

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