service

package
v0.0.0-...-41dc70e Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenerateRandomStringService

type GenerateRandomStringService interface {
	GenerateRandomString(ctx context.Context) string
}

type GetBaseURLRepo

type GetBaseURLRepo interface {
	GetBaseURL(ctx context.Context) string
}

type HashPasswordService

type HashPasswordService interface {
	HashPassword(ctx context.Context, plainPassword string) (string, error)
}

type VerifyPasswordService

type VerifyPasswordService interface {
	VerifyPassword(ctx context.Context, req VerifyPasswordServiceRequest) error
}

type VerifyPasswordServiceRequest

type VerifyPasswordServiceRequest struct {
	PlainPassword  string
	HashedPassword string
}

Jump to

Keyboard shortcuts

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