routes

package
v0.0.0-...-56bdf14 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceptRedeemRequest

func AcceptRedeemRequest(c *fiber.Ctx) error

func AwardCoins

func AwardCoins(c *fiber.Ctx) error

func GetCoins

func GetCoins(c *fiber.Ctx) error

func GetRedeemList

func GetRedeemList(c *fiber.Ctx) error

func Hello

func Hello(c *fiber.Ctx) error

func Login

func Login(c *fiber.Ctx) error

func RejectPendingRequests

func RejectPendingRequests(c *fiber.Ctx) error

func RejectRedeemRequest

func RejectRedeemRequest(c *fiber.Ctx) error

func RequestItem

func RequestItem(c *fiber.Ctx) error

func Secret

func Secret(c *fiber.Ctx) error

func Signup

func Signup(c *fiber.Ctx) error

func TransferCoins

func TransferCoins(c *fiber.Ctx) error

Types

type LoginInfo

type LoginInfo struct {
	Rollno   string `json:"Roll"`
	Password string `json:"Password"`
}

type SignupInfo

type SignupInfo struct {
	Rollno   string `json:"Roll"`
	Username string `json:"Name"`
	Password string `json:"Password"`
}

Jump to

Keyboard shortcuts

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