views

package
v0.0.0-...-9116ad2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BasePath, RepoPath string

Functions

func Categories

func Categories(r render.Render, params martini.Params, html html.HTMLContext, req *http.Request)

func CompareDicts

func CompareDicts(r render.Render, params martini.Params, html html.HTMLContext)

func CreateComments

func CreateComments(r render.Render, p martini.Params, s sessions.Session, u sessionauth.User, routes martini.Routes, comment models.Comment, errs binding.Errors)

func CreateDicts

func CreateDicts(params martini.Params, commit forms.Commit, errs binding.Errors, r render.Render)

func DeleteDicts

func DeleteDicts(params martini.Params, html html.HTMLContext, r render.Render)

func DictsHistory

func DictsHistory(r render.Render, params martini.Params, html html.HTMLContext)

func EditDicts

func EditDicts(r render.Render, params martini.Params, html html.HTMLContext)

func LatestRSS

func LatestRSS(r render.Render, html html.HTMLContext, routes martini.Routes, req *http.Request)

func LatestRoots

func LatestRoots(r render.Render, html html.HTMLContext, req *http.Request)

func LoginAccounts

func LoginAccounts(r render.Render, html html.HTMLContext)

func ModifiedRSS

func ModifiedRSS(r render.Render, html html.HTMLContext, routes martini.Routes, req *http.Request)

func ModifiedRoots

func ModifiedRoots(r render.Render, html html.HTMLContext, req *http.Request)

func NewDicts

func NewDicts(r render.Render, params martini.Params, html html.HTMLContext, req *http.Request)

func Roots

func Roots(r render.Render, s sessions.Session, html html.HTMLContext)

func SaveLoginAccounts

func SaveLoginAccounts(r render.Render, html html.HTMLContext, session sessions.Session, form models.User, errs binding.Errors, req *http.Request)

func SaveSignupAccounts

func SaveSignupAccounts(r render.Render, html html.HTMLContext, session sessions.Session, form models.User, errs binding.Errors, req *http.Request)

func ShowDicts

func ShowDicts(r render.Render, s sessions.Session, params martini.Params, html html.HTMLContext)

func SignupAccounts

func SignupAccounts(r render.Render, html html.HTMLContext)

func UpdateDicts

func UpdateDicts(params martini.Params, commit forms.Commit, errs binding.Errors, r render.Render)

Types

type APIResponse

type APIResponse struct {
	Ok  bool   `json:"ok"`
	Sha string `json:"sha"`
	Msg string `json:"msg"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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