handlers

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Events

func Events(scrapeCache *cache.Cache) func(c *fiber.Ctx) error

func ForumPosts

func ForumPosts(scrapeCache *cache.Cache) func(c *fiber.Ctx) error

func GamesInSpotlight added in v0.3.0

func GamesInSpotlight(scrapeCache *cache.Cache) func(c *fiber.Ctx) error

func MasterDetails

func MasterDetails() func(c *fiber.Ctx) error

func News

func News(scrapeCache *cache.Cache) func(c *fiber.Ctx) error

func Qtv

func Qtv(getQtvServers func() []qtv.Qtv) func(c *fiber.Ctx) error

func Qwfwd

func Qwfwd(getQwdfwdServers func() []qwfwd.Qwfwd) func(c *fiber.Ctx) error

func ServerDetails

func ServerDetails(serverDetailsProvider func(address string) (qserver.GenericServer, error)) func(c *fiber.Ctx) error

func ServerLastScores added in v0.2.0

func ServerLastScores() func(c *fiber.Ctx) error

func ServerLastStats added in v0.2.0

func ServerLastStats() func(c *fiber.Ctx) error

func Servers

func Servers(getServers func() []qserver.GenericServer) func(c *fiber.Ctx) error

func Streams

func Streams(getStreams func() []twitch.Stream, getMvdsvServers func() []mvdsv.Mvdsv) func(c *fiber.Ctx) error

func WikiRecentChanges added in v0.3.7

func WikiRecentChanges(scrapeCache *cache.Cache) func(c *fiber.Ctx) error

Types

type ServerLastStatsParams added in v0.2.0

type ServerLastStatsParams struct {
	Address string `query:"address" validate:"hostname_port"`
	Limit   int    `query:"limit" validate:"omitempty,min=0,max=50"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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