Help us shape the future of Go! Take the 2026 Go Developer Survey

routes

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BotInviteHandler

func BotInviteHandler(b *backend.Backend) http.HandlerFunc

func CommandsHandler

func CommandsHandler(b *backend.Backend) http.HandlerFunc

func GuildInviteHandler

func GuildInviteHandler(b *backend.Backend) http.HandlerFunc

func Handler

func Handler(b *backend.Backend) http.Handler

func HealthCheckHandler

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

func InfoHandler

func InfoHandler(b *backend.Backend) http.HandlerFunc

func NotificationsHandler

func NotificationsHandler(b *backend.Backend) http.HandlerFunc

func VotesHandler

func VotesHandler(b *backend2.Backend) http.HandlerFunc

Types

type Stats

type Stats struct {
	GuildCount       int      `json:"guild_count"`
	UserCount        int      `json:"user_count"`
	ShardCount       int      `json:"shard_count"`
	ShardStatus      []string `json:"shard_status"`
	AudioPlayerCount int      `json:"audio_player_count"`
}

Jump to

Keyboard shortcuts

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