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
Click to show internal directories.
Click to hide internal directories.