handlers

package
v0.0.0-...-a97d171 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: GPL-3.0 Imports: 86 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrLoggedOut = errors.New("logged out")

Functions

func APIRouter

func APIRouter() http.Handler

func AchievementsRouter

func AchievementsRouter() http.Handler

func AdminRouter

func AdminRouter() http.Handler

func BadgeRouter

func BadgeRouter() http.Handler

func BadgesRouter

func BadgesRouter() http.Handler

func BundleRouter

func BundleRouter() http.Handler

func BundlesRouter

func BundlesRouter() http.Handler

func ChangeRouter

func ChangeRouter() http.Handler

func ChangesRouter

func ChangesRouter() http.Handler

func ChatBotRouter

func ChatBotRouter() http.Handler

func ChatRouter

func ChatRouter() http.Handler

func CommitsRouter

func CommitsRouter() http.Handler

func ContactRouter

func ContactRouter() http.Handler

func CurrencyHandler

func CurrencyHandler(w http.ResponseWriter, r *http.Request)

func DonateRouter

func DonateRouter() http.Handler

func Error404Handler

func Error404Handler(w http.ResponseWriter, r *http.Request)

func Error500Handler

func Error500Handler(w http.ResponseWriter, r *http.Request)

func ExperienceRouter

func ExperienceRouter() http.Handler

func FeaturesRouter

func FeaturesRouter() http.Handler

func ForgotRouter

func ForgotRouter() http.Handler

func FranchiseRouter

func FranchiseRouter() http.Handler

func GamesRouter

func GamesRouter() http.Handler

func GroupRouter

func GroupRouter() http.Handler

func GroupsRouter

func GroupsRouter() http.Handler

func HealthCheckRouter

func HealthCheckRouter() http.Handler

func HomeHandler

func HomeHandler(w http.ResponseWriter, r *http.Request)

func HomeRouter

func HomeRouter() http.Handler

func InfoRouter

func InfoRouter() http.Handler

func Init

func Init()

func LoginRouter

func LoginRouter() http.Handler

func LogoutRouter

func LogoutRouter() http.Handler

func NewsRouter

func NewsRouter() http.Handler

func OauthRouter

func OauthRouter() http.Handler

func PackageRouter

func PackageRouter() http.Handler

func PackagesRouter

func PackagesRouter() http.Handler

func PlayerRouter

func PlayerRouter() http.Handler

func PlayersRouter

func PlayersRouter() http.Handler

func PriceChangeRouter

func PriceChangeRouter() http.Handler

func ProductKeysRouter

func ProductKeysRouter() http.Handler

func QueuesRouter

func QueuesRouter() http.Handler

func SettingsRouter

func SettingsRouter() http.Handler

func SignupRouter

func SignupRouter() http.Handler

func SiteMapBadges

func SiteMapBadges(w http.ResponseWriter, r *http.Request)

func SiteMapGamesByPlayersHandler

func SiteMapGamesByPlayersHandler(w http.ResponseWriter, r *http.Request)

func SiteMapGamesByScoreHandler

func SiteMapGamesByScoreHandler(w http.ResponseWriter, r *http.Request)

func SiteMapGamesNewHandler

func SiteMapGamesNewHandler(w http.ResponseWriter, r *http.Request)

func SiteMapGamesUpcomingHandler

func SiteMapGamesUpcomingHandler(w http.ResponseWriter, r *http.Request)

func SiteMapGroups

func SiteMapGroups(w http.ResponseWriter, r *http.Request)

noinspection GoUnusedParameter

func SiteMapIndexHandler

func SiteMapIndexHandler(w http.ResponseWriter, r *http.Request)

noinspection GoUnusedParameter

func SiteMapPagesHandler

func SiteMapPagesHandler(w http.ResponseWriter, r *http.Request)

noinspection GoUnusedParameter

func SiteMapPlayersByGamesCount

func SiteMapPlayersByGamesCount(w http.ResponseWriter, r *http.Request)

noinspection GoUnusedParameter

func SiteMapPlayersByLevel

func SiteMapPlayersByLevel(w http.ResponseWriter, r *http.Request)

noinspection GoUnusedParameter

func StatRouter

func StatRouter() http.Handler

func StatsListRouter

func StatsListRouter() http.Handler

func StatsRouter

func StatsRouter() http.Handler

func TermsRouter

func TermsRouter() http.Handler

func WebhooksRouter

func WebhooksRouter() http.Handler

func WebsocketsRouter

func WebsocketsRouter() http.Handler

Types

type AppCountry

type AppCountry struct {
	Country string
	Count   int
	Percent float64
}

func (AppCountry) GetPercent

func (ac AppCountry) GetPercent() string

type Asset

type Asset struct {
	URL       string
	Integrity string
}

type PlayersUpdateResponse

type PlayersUpdateResponse struct {
	Success bool   `json:"success"` // Red or green
	Toast   string `json:"toast"`   // Browser notification
	Log     error  `json:"log"`     // Console log
}

type RDF

type RDF struct {
	Channel struct {
		Seq struct {
			Text string `xml:",chardata"`
			Li   []struct {
				Resource string `xml:"resource,attr"`
			} `xml:"li"`
		} `xml:"Seq"`
	} `xml:"channel"`
}

type Toast

type Toast struct {
	Title   string `json:"title"`
	Message string `json:"message"`
	Link    string `json:"link"`
	Theme   string `json:"theme"`
	Timeout int    `json:"timeout"`
	Success bool   `json:"success"`
}

Toasts

Jump to

Keyboard shortcuts

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