context

package
v0.0.0-...-66fd069 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aec

func Aec(req *http.Request) appengine.Context

func AppPath

func AppPath(filename_from_app string) string

func LoadTranslator

func LoadTranslator(aec appengine.Context, locale string) (i18n.TranslateFunc, error)

Types

type Context

type Context struct {
	Aec appengine.Context
	Ctx context.Context
	T   i18n.TranslateFunc
}

func NewContext

func NewContext(c context.Context) Context

func (*Context) GetLocale

func (c *Context) GetLocale() string

Jump to

Keyboard shortcuts

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