context

package
v0.0.0-...-1871c23 Latest Latest
Warning

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

Go to latest
Published: May 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contexter

func Contexter(c martini.Context, r render.Render, sess sessions.Session, req *http.Request)

Types

type Context

type Context struct {
	Session sessions.Session
	User    *common.User
	Request *http.Request
	Render  render.Render
	IsGuest bool
}

func (*Context) HTML

func (c *Context) HTML(view string, data ViewData, layout ...string)

type ViewData

type ViewData map[string]interface{}

Jump to

Keyboard shortcuts

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