Documentation
¶
Index ¶
Constants ¶
View Source
const EtagBusterPrefix = "v1"
EtagBusterPrefix should be modified when existing Etag headers should be invalidated. This can happen for example when some related header has changed which would change how the response body would otherwise be treated. For example, this value was added when 'Content-Type' changed from 'text/calendar' to 'text/calendar; utf-8'. Be careful changing this, since it invalidates all existing cached responses.
Variables ¶
View Source
var ErrFallback = errors.New("fallback")
Functions ¶
func ApiKeyMiddlewares ¶
func ApiKeyMiddlewares(key string) ([]echo.MiddlewareFunc, error)
func FallbackMiddleware ¶
func FallbackMiddleware(ag *appglobals.AppGlobals) echo.MiddlewareFunc
func Register ¶
func Register(_ context.Context, e *echo.Echo, ag *appglobals.AppGlobals) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.