controllers

package
v0.0.0-...-1aa9842 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EXPTIME = jwt.NewNumericDate(time.Now().Add(time.Hour * 24 * 30))

Functions

func CreateJoke

func CreateJoke(c echo.Context) error

func CreateJokeComment

func CreateJokeComment(c echo.Context) error

func DeleteJoke

func DeleteJoke(c echo.Context) error

func DeleteJokeComment

func DeleteJokeComment(c echo.Context) error

func EditJoke

func EditJoke(c echo.Context) error

func EditJokeComment

func EditJokeComment(c echo.Context) error

func GetAllJokes

func GetAllJokes(c echo.Context) error

func GetJoke

func GetJoke(c echo.Context) error

func GetJokeByAuthor

func GetJokeByAuthor(c echo.Context) error

func GetJokeComment

func GetJokeComment(c echo.Context) error

func GetJokeComments

func GetJokeComments(c echo.Context) error

func GetRandomJoke

func GetRandomJoke(c echo.Context) error

func GetTopRatedJoke

func GetTopRatedJoke(c echo.Context) error

func Login

func Login(c echo.Context) error

func RateJoke

func RateJoke(c echo.Context) error

func Refresh

func Refresh(c echo.Context) error

func Register

func Register(c echo.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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