third-example

command
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

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.

As well, it leverages middleware.InjectResponder instead of wrapping the Ranger's Responder in some intermediate struct HTTP handlers are methods on, thereby allowing those handlers to be standalone functions.

Jump to

Keyboard shortcuts

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