session

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package session implements a session store for the Oauth1 examples. A real application should not use this package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(r *http.Request) (s map[string]interface{})

Get returns the session data for the request client.

func Save

func Save(w http.ResponseWriter, r *http.Request, s map[string]interface{}) error

Save saves session for the request client.

Types

This section is empty.

Jump to

Keyboard shortcuts

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