user

package
v0.0.0-...-d552a0f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmailInUse    = errors.New("email already in use")
	ErrUsernameInUse = errors.New("username already in use")
)

Functions

This section is empty.

Types

type Controller

type Controller interface {
	GetUserDetails(ctx context.Context, id util.UUIDString) (model.User, error)
	RegisterUser(ctx context.Context, request request.PostUsersRegisterRequest) (model.User, error)
}

func NewController

func NewController(reg repository.Registry) Controller

Jump to

Keyboard shortcuts

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