login

package
v0.0.0-...-2b4ac10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login

type Login struct {
	// contains filtered or unexported fields
}

func New

func New(s Storage, sk string) Login

func (Login) Login

func (l Login) Login(email, password string) (string, error)

type Storage

type Storage interface {
	ByEmail(email string) (model.User, error)
}

type UseCase

type UseCase interface {
	Login(email, password string) (string, error)
}

Jump to

Keyboard shortcuts

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