# README
Golang Simple API
Golang Simple API is small library to enable simple Authenticated API calls
Install
go get go.ideatocode.tech/api
Import
import api "go.ideatocode.tech/api"
Example
Check the examples dir for a complete working example# go-simpleapi-builder
# Packages
No description provided by the author
# Functions
NewController creates a new HTTP API controller.
WithAnonymousRequests allows requests with no auth headers through to the auth middleware.
# Constants
KeyAuthID returns the context Value of the Auth set by the defaultAuthMiddleware func on successful auth.
# Structs
Controller runs the controller.
# Type aliases
AuthCallback is the function called when doing bearer authentication.
HTTPHandler is the handler that is called when path is accessed.
No description provided by the author