users

package
v0.0.0-...-cfa0982 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserRepositoryInterfaces

type UserRepositoryInterfaces interface {
	InsertUser(*entity.MasterUser) (*gorm.DB, error)
	CreateUserAuth(*gorm.DB, *entity.UserAuth) error
	GetCurrentDeviceID(int64) string
	GetUserAuth(int64) *entity.UserAuth
	GetUserByUsername(string) *entity.MasterUser
	UpdateDeviceIDLastLogin(string, int64) error
}

type UserServicesInterfaces

type UserServicesInterfaces interface {
	LoginUser(*models.ReqUserLogin) (string, error)
	RegisterUser(*models.ReqUserRegister) error
	GetCurrentDeviceID(int64) string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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