# Functions
BasicCredentialsExtractor extract credentials from basic auth header.
WriteResponse writes a payload to the provided writer.
# Constants
FollowersURL is the URL path to manage your followers.
FollowingURL is the URL path to manage users you follow.
FollowURL is the URL path to perform following/unfollowing actions.
PostsURL is the URL path to manage Posts.
UsersURL is the URL path to manage Users.
# Structs
API is the primary point for REST API registration.
Endpoint is a combination of a Path and an HTTP Method.
ErrorResponse defines an error response payload.
Route is a mapping between an Endpoint and a REST API Handler.
# Interfaces
Controller is an entity that wraps a set of HTTP Routes.
CredentialsExtractor is a generic interface for extracting credentials from different auth mechanism.
Filter interface provides an interface for filtering http requests on some conditions.
# Type aliases
CredentialsExtractorFunc is a wrapper of CredentialsExtractor so a normal function could be used as CredentialsExtractor.