# Functions
BuildCacheControlHeader builds an http cache header using the max age duration provided.
GetPagination is a helper that extracts the pagination information from the query string values provided.
RenderErrorJSON is a helper to write the error provided to the given http response writer as json setting the appropriate content type.
RenderErrorWithCodeJSON is a helper to write the error provided to the given http response writer as json setting the appropriate content type.
RenderJSON is a helper to write the json data provided to the given http response writer, setting the appropriate content type, cache and status code.
# Constants
DefaultAPICacheMaxAge represents the default cache duration used by some API endpoints.
PaginationDefaultLimit represents the default limit used for pagination.
PaginationMaxLimit represents the default maximum limit used for pagination.
PaginationTotalCount represents a header used to indicate the number of entries available for pagination purposes.