http/

directory
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2022 License: MIT

Directories

Path Synopsis
example
second-example
second-example shows off a simple trails app that utilizes completely custom application code and defaults a user provides additional configuration to.
second-example shows off a simple trails app that utilizes completely custom application code and defaults a user provides additional configuration to.
start-here
start-here provides a toy example use of Trails' http stack, focusing on the basics of:
start-here provides a toy example use of Trails' http stack, focusing on the basics of:
third-example
third-example provides a more "robust" use of authentication and unauthentication, highlighting trails' flexibility to work with an application's own implementation of important interfaces describing the currentUser concept at the heart of trails.
third-example provides a more "robust" use of authentication and unauthentication, highlighting trails' flexibility to work with an application's own implementation of important interfaces describing the currentUser concept at the heart of trails.
Package keyring defines how keys in a *http.Request.Context should behave and a way for storing and retrieving those keys for wider use in the application.
Package keyring defines how keys in a *http.Request.Context should behave and a way for storing and retrieving those keys for wider use in the application.
The middleware package defines what a middleware is in trails and a set of basic middlewares.
The middleware package defines what a middleware is in trails and a set of basic middlewares.
Package resp provides a high-level API for responding to HTTP requests.
Package resp provides a high-level API for responding to HTTP requests.
Package router defines what an HTTP server is and a default implementation of it.
Package router defines what an HTTP server is and a default implementation of it.
templatetest
Package templatetest exposes a mock fs.FS that implements basic file operations.
Package templatetest exposes a mock fs.FS that implements basic file operations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL