controllers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoardTrain

func BoardTrain(c *gb.Ctx)

func CreateDinosaur

func CreateDinosaur(c *gb.Ctx)

func DeleteDinosaur

func DeleteDinosaur(c *gb.Ctx)

func GetDinosaur

func GetDinosaur(c *gb.Ctx)

func ListDinosaurs

func ListDinosaurs(c *gb.Ctx)

func ListTrains

func ListTrains(c *gb.Ctx)

func Login

func Login(c *gb.Ctx)

func Profile

func Profile(c *gb.Ctx)

func Register

func Register(c *gb.Ctx)

func UpdateDinosaur

func UpdateDinosaur(c *gb.Ctx)

Types

type LoginRequest

type LoginRequest struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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