code

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0-only Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	Create(record *Record) (string, error)
	Pop(code string) (*Record, bool)
}

Manager is a interface defining a code manager.

type Record added in v0.11.0

type Record struct {
	AuthenticationRequest *payload.AuthenticationRequest
	Auth                  identity.AuthRecord
	Session               *payload.Session
}

Record bundles the data storedi in a code manager.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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