services

package
v0.0.0-...-5dfee32 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserService

type UserService interface {
	GenerateToken(user *entities.User) (*string, error)
	Register(registerRequest *request_models.Register) (*entities.User, error)
	GetByEmail(email string) (*entities.User, error)
}

func NewUserService

func NewUserService(_dbConn *gorm.DB) UserService

Jump to

Keyboard shortcuts

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