Documentation
¶
Index ¶
- Constants
- Variables
- func DownloadRun(c *Context, params martini.Params)
- func Index(c *Context)
- func LoginGoogle(c *Context)
- func LogoutGoogle(c *Context)
- func NotFound(c *Context)
- func ProcessRun(c *Context)
- func RunPOST(c *Context, params martini.Params)
- func Runs(c *Context)
- func UploadRun(c *Context)
- func UploadRunDone(c *Context)
- func ViewRun(c *Context, params martini.Params)
- func ViewUser(c *Context, params martini.Params)
- type Context
- func (c *Context) FillRenderParams(filler Includes)
- func (c *Context) GetRenderParam(key string) (value interface{}, ok bool)
- func (c *Context) Render()
- func (c *Context) RunInTransaction(f func(*Context) error, opts *datastore.TransactionOptions) error
- func (c *Context) SetRenderParam(key string, value interface{})
- func (c *Context) Step(name string, f func(*Context))
- type Includes
Constants ¶
View Source
const (
VERSION = "0.1.1"
)
Variables ¶
View Source
var ( BootstrapCss string BootstrapJs string Jquery string )
Functions ¶
func DownloadRun ¶
func LoginGoogle ¶
func LoginGoogle(c *Context)
func LogoutGoogle ¶
func LogoutGoogle(c *Context)
func ProcessRun ¶
func ProcessRun(c *Context)
func UploadRunDone ¶
func UploadRunDone(c *Context)
Types ¶
type Context ¶
type Context struct {
*mpg.Context
ID string
Req *http.Request // We have to name it this or it conflicts with the appengine.Context interface
Response martini.ResponseWriter
IncludesWG *sync.WaitGroup
GlobalWG *sync.WaitGroup
RenderWG *sync.WaitGroup
Goon *goon.Goon
// contains filtered or unexported fields
}
func (*Context) FillRenderParams ¶
Fills the render parameters from a map.
func (*Context) GetRenderParam ¶
Gets one of the render parameters. This should be called rather than directly manipulating the map.
func (*Context) RunInTransaction ¶
func (*Context) SetRenderParam ¶
Sets one of the render parameters. This should be called rather than directly manipulating the map.
Click to show internal directories.
Click to hide internal directories.