# Packages
No description provided by the author
# Functions
LoggingMiddleware wraps our service and logs stuff about our services.
MakeHTTPHandler mounts all of the service endpoints into an http.Handler.
MakeLoginEndpoint returns the Login endpoint on the service.
MakeServerEndpoints creates all of the routes.
NewInmemService gets you a shiny new UserService!.
# Variables
ErrEmpty is returned when input string is empty.
ErrNotFound represents a resource not found (404).
ErrUnauthorized represents a Unauthorized (401).
# Structs
Endpoints is a container to hold all of our Transport routes (HTTP, RPC etc.).
User is a representation of a User.
UserRepository is an in-memory user database.
# Interfaces
Service provides operations on Users.
# Type aliases
Middleware describes a service (as opposed to endpoint) middleware.