handlers

package
v0.0.0-...-a388b5a Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleGetLotteryNumbers

func HandleGetLotteryNumbers(c *fiber.Ctx) error

@Summary Lottery number generator @Description Generates the lottery numbers and returns JSON - The request responds to a url matching: /lottery?maxgames=XX&randnum=XX&maxnumspergame=XX @Tags Lottery @Accept */* @Produce plain @Success 200 "OK" @Router /lottery [get]

func HandleHealthCheck

func HandleHealthCheck(c *fiber.Ctx) error

@Summary Show the status of server - Ping/Pong @Description get the status of server. @Tags health @Accept */* @Produce plain @Success 200 "OK" @Router /ping [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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