session

package
v0.12.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2016 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package session provides in-memory storage of secure session details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session interface {
	Set(*identity.ID, string, string) error
	ID() *identity.ID
	Token() string
	Passphrase() string
	HasToken() bool
	HasPassphrase() bool
	Logout()
	String() string
}

Session is the interface for access to secure session details.

func NewSession

func NewSession() Session

NewSession returns the default implementation of the Session interface.

Jump to

Keyboard shortcuts

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