context

package
v0.0.0-...-ed03032 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2015 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextInterface

type ContextInterface interface {
	GetParam(string) string
	Get(*http.Request, interface{}) interface{}
	Set(*http.Request, interface{}, interface{})
}

type GojiContext

type GojiContext struct {
	*web.C
}

func (*GojiContext) Get

func (q *GojiContext) Get(r *http.Request, key interface{}) interface{}

func (*GojiContext) GetParam

func (q *GojiContext) GetParam(key string) string

func (*GojiContext) Set

func (q *GojiContext) Set(r *http.Request, key interface{}, value interface{})

Jump to

Keyboard shortcuts

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