service

package
v0.0.0-...-1afb120 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Create(ctx context.Context, dto user.CreateUserDTO) (string, error)
	GetByEmailAndPassword(ctx context.Context, email string, password string) (user.User, error)
	GetByID(ctx context.Context, id string) (user.User, error)
}

func NewService

func NewService(storage storage.Storage) Service

Jump to

Keyboard shortcuts

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