routes

package
v1.2.0-Beta.2.0...-bcfade6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bot

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

func Bots

func Bots(w http.ResponseWriter, _ *http.Request)

func Debug

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

func GetServer

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

func GetTemplate

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

func GetUser

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

func Health

func Health(w http.ResponseWriter, _ *http.Request)

func InitBotRoutes

func InitBotRoutes()

func InitDebugRoutes

func InitDebugRoutes()

func InitGeneralRoutes

func InitGeneralRoutes()

func InitServerRoutes

func InitServerRoutes()

func InitTemplateRoutes

func InitTemplateRoutes()

func InitUserRoutes

func InitUserRoutes()

func Stats

func Stats(w http.ResponseWriter, _ *http.Request)

func UpdateStats

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

func Widget

func Widget(w http.ResponseWriter, _ *http.Request)

TODO: Widget

Types

type StatsRequest

type StatsRequest struct {
	GuildCount int `json:"guildCount"`
	ShardCount int `json:"shardCount"`
}

Jump to

Keyboard shortcuts

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