examples

command
Version: v0.0.0-...-e7b3743 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Overview

Demonstrates advanced usage of nosurf in conjuction with net/http: * wrapping DefaultServeMux (http.Handle(), etc.) * exempting URLs * setting your own failure handler

Demonstrates how to tie together Goji (https://goji.io) and nosurf.

Demonstrates the simplest usage of nosurf

Demonstrates usage of nosurf with the web.go package

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL