session

command
v0.0.0-...-1628972 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 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.

Jump to

Keyboard shortcuts

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