package
0.0.0-20220308063358-eb8df2a79638
Repository: https://github.com/goethesum/restapi.git
Documentation: pkg.go.dev

# Functions

BasicAuth - a handly middleware function that will provide basic auth around specific endpoints.
JWTAuth - a decorator function for jwt validation for endpoints.
LoggingMiddleware - adds middleware around endpoints.
NewHandler - returns a pointer to a Handler.

# Structs

Handler - stores pointer to comment service.
Response - an object to store responses from API.