Documentation ¶
Index ¶
- Constants
- func AddTemplate(paths ...string) *template.Template
- func AdminIndexHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiAdminRiotKeySetHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiGroupAddUserHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiGroupCreateHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiGroupDelUserHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiGroupJoinHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiHandleError(c appengine.Context, w http.ResponseWriter, errs ...error) bool
- func ApiLeagueAddTeamHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiLeagueCreateHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiLeagueGroupAclGrantHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiLeagueGroupAclRevokeHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiMatchCreateHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiTeamAddPlayerHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiTeamDelPlayerHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiUserAddSummoner(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiUserSetPrimarySummoner(w http.ResponseWriter, r *http.Request, args map[string]string)
- func ApiUserVerifySummoner(w http.ResponseWriter, r *http.Request, args map[string]string)
- func GameViewHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func GroupIndexHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func GroupViewHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func GroupViewNotAuthorizedHandler(w http.ResponseWriter, c appengine.Context, user *model.User, ...)
- func HandleError(c appengine.Context, w http.ResponseWriter, errs ...error) bool
- func HomeHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func HttpReplyError(c appengine.Context, w http.ResponseWriter, httpStatusCode int, ...)
- func HttpReplyOkEmpty(w http.ResponseWriter)
- func HttpReplyResourceCreated(w http.ResponseWriter, loc string)
- func LeagueGameViewHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func LeagueIndexHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func LeagueViewHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func MatchCreateHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func RenderTemplate(w http.ResponseWriter, id string, name string, ctx interface{}) error
- func SetTemplateRoot(newroot string)
- func SettingsIndexHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- func TeamGameHistory(w http.ResponseWriter, r *http.Request, args map[string]string)
- func TeamViewHandler(w http.ResponseWriter, r *http.Request, args map[string]string)
- type Group
- type GroupAcl
- type League
- type Member
- type PlayerInfo
- type ProposedMember
- type Team
Constants ¶
View Source
const TIME_FORMAT = "2006-01-02 03:04PM (MST)"
Variables ¶
This section is empty.
Functions ¶
func AddTemplate ¶
Adds a template to the registry.
templates is a list of template file name relative to the template/ directory that are needed to render the full template. The first file will be used as the name for the template group.
func AdminIndexHandler ¶
func ApiGroupAddUserHandler ¶
func ApiGroupCreateHandler ¶
func ApiGroupDelUserHandler ¶
func ApiGroupJoinHandler ¶
func ApiHandleError ¶
func ApiLeagueAddTeamHandler ¶
func ApiLeagueCreateHandler ¶
func ApiMatchCreateHandler ¶
func ApiTeamAddPlayerHandler ¶
func ApiTeamDelPlayerHandler ¶
func ApiUserAddSummoner ¶
func ApiUserVerifySummoner ¶
func GameViewHandler ¶
func GroupIndexHandler ¶
func GroupViewHandler ¶
func HandleError ¶
func HomeHandler ¶
func HttpReplyError ¶
func HttpReplyError( c appengine.Context, w http.ResponseWriter, httpStatusCode int, useTemplate bool, err error)
See http://golang.org/pkg/net/http/#pkg-constants for status codes.
func HttpReplyOkEmpty ¶
func HttpReplyOkEmpty(w http.ResponseWriter)
func HttpReplyResourceCreated ¶
func HttpReplyResourceCreated(w http.ResponseWriter, loc string)
func LeagueGameViewHandler ¶
func LeagueIndexHandler ¶
func LeagueViewHandler ¶
func MatchCreateHandler ¶
func RenderTemplate ¶
func RenderTemplate(w http.ResponseWriter, id string, name string, ctx interface{}) error
func SetTemplateRoot ¶
func SetTemplateRoot(newroot string)
Sets the root for further calls to AddTemplate
func SettingsIndexHandler ¶
func TeamGameHistory ¶
func TeamViewHandler ¶
Types ¶
type PlayerInfo ¶
func (*PlayerInfo) Fill ¶
func (p *PlayerInfo) Fill(m *model.Player)
type ProposedMember ¶
func (*ProposedMember) Fill ¶
func (m *ProposedMember) Fill(u *model.User, proposal *model.ProposedGroupMembership) *ProposedMember
Click to show internal directories.
Click to hide internal directories.