package
0.1.9
Repository: https://github.com/dmitrymomot/oauth2-server.git
Documentation: pkg.go.dev

# Functions

MakeDeleteEndpoint returns an endpoint via the passed service.
MakeEndpoints returns an Endpoints struct where each endpoint invokes the corresponding method on the provided service.
MakeGetByIDEndpoint returns an endpoint via the passed service.
MakeGetProfileEndpoint returns an endpoint via the passed service.
MakeHTTPHandler ...
MakeUpdateEmailEndpoint returns an endpoint via the passed service.
MakeUpdatePasswordEndpoint returns an endpoint via the passed service.
NewError creates a new error.
NewService creates a new user service.
NewUser casts a repository.User to a user.User.

# Variables

Predefined errors.
Predefined errors.
Predefined errors.
Predefined errors.
Error codes map.
Error messages.
Predefined errors.

# Structs

No description provided by the author
UpdateEmailRequest is the request type for the UpdateEmail endpoint.
UpdatePasswordRequest is the request type for the UpdatePassword endpoint.
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author