lib

package
v0.0.0-...-81b1152 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2016 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) (string, bool)

FromContext extracts the Identity pat from ctx, if present.

func MustFromContext

func MustFromContext(ctx context.Context) string

MustFromContext extracts the identity from ctx. If not present it panics.

func NewContext

func NewContext(ctx context.Context, p string) context.Context

NewContext returns a new Context carrying an Identity pat.

Types

This section is empty.

Jump to

Keyboard shortcuts

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