package
0.0.0-20211104112101-f6a86e4ed25b
Repository: https://github.com/sdlombardo2/ss-user-nr.git
Documentation: pkg.go.dev

# Functions

LoggingMiddleware logs method calls, parameters, results, and elapsed time.
MakeAddressGetEndpoint returns an endpoint via the given service.
MakeAddressPostEndpoint returns an endpoint via the given service.
MakeUserGetEndpoint returns an endpoint via the given service.
MakeCardPostEndpoint returns an endpoint via the given service.
MakeLoginEndpoint returns an endpoint via the given service.
MakeEndpoints returns an Endpoints structure, where each endpoint is backed by the given service.
MakeHealthEndpoint returns current health of the given service.
MakeHTTPHandler mounts the endpoints into a REST-y HTTP handler.
MakeLoginEndpoint returns an endpoint via the given service.
MakeRegisterEndpoint returns an endpoint via the given service.
MakeUserGetEndpoint returns an endpoint via the given service.
MakeUserPostEndpoint returns an endpoint via the given service.
NewFixedService returns a simple implementation of the Service interface,.
NewInstrumentingService returns an instance of an instrumenting Service.

# Variables

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Endpoints collects the endpoints that comprise the Service.
No description provided by the author
No description provided by the author

# Interfaces

Service is the user service, providing operations for users to login, register, and retrieve customer information.

# Type aliases

Middleware decorates a service.