session

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

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

Go to latest
Published: Aug 22, 2020 License: MIT Imports: 4 Imported by: 0

README

Session Example

$ go run session/main.go

$ curl -i --cookie-jar cj --cookie cj http://localhost:8080/
You visited this page 0 times

$ curl -i --cookie-jar cj --cookie cj http://localhost:8080/
You visited this page 1 times

$ curl -i --cookie-jar cj2 --cookie cj2 http://localhost:8080/
You visited this page 0 times

$ curl -i --cookie-jar cj2 --cookie cj2 http://localhost:8080/
You visited this page 1 times

...

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

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