userservice

package
v0.0.0-...-750da50 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 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 UserService

type UserService interface {
	GetByFirebaseUID(firebaseUID string) (*models.User, error)
	Create(firebaseUID string) (*models.User, error)
	Update(user *models.User) (*models.User, error)
	GetUserByUsername(username string) (*models.User, error)
}

UserService interface

func NewUserService

func NewUserService(
	repo userrepo.Repo,
	rds rdms.RandomString,
	hmac hmachash.HMAC,
	pepper string,
) UserService

NewUserService will instantiate User Service

Jump to

Keyboard shortcuts

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