handlers

package
v0.0.0-...-b4a6059 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginAdminHandler

func LoginAdminHandler(c *fiber.Ctx) error

LoginAdminHandler creates a handler for logging in telar social

func LoginPageHandler

func LoginPageHandler(c *fiber.Ctx) error

LoginPageHandler creates a handler for logging in

func SetupHandler

func SetupHandler(c *fiber.Ctx) error

SetupPageHandler creates a handler for logging in

func SetupPageHandler

func SetupPageHandler(c *fiber.Ctx) error

SetupPageHandler creates a handler for logging in

Types

type AdminCheck

type AdminCheck struct {
	Success bool `json:"success"`
	Admin   bool `json:"admin"`
}

Admin check

type AdminToken

type AdminToken struct {
	Success bool   `json:"success"`
	Token   string `json:"token"`
}

Admin token

Jump to

Keyboard shortcuts

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