context

package
v0.0.0-...-f73c795 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2016 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

The context library defines different call contexts that can be passed to controllers from the router Mainly used for passing data to the controller from middleware

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	IdentityID string
}

Context struct.

func (*Context) GetIdentity

func (c *Context) GetIdentity() string

func (*Context) SetIdentity

func (c *Context) SetIdentity(identity string)

Jump to

Keyboard shortcuts

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