routes

package
v0.0.0-...-70aaee8 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(c *fiber.Ctx) error

Command is in charge of obtaining the variables passed by the query and executing the necessary functions for its operation. Return:

  • error: if there is an error, it is returned so that when the function is used, it can be reported.

func Health

func Health(c *fiber.Ctx) error

Health checks if the token provided in the "token" parameter is valid. 401 if the token is not valid 200 if token is valid, is authorized Return:

  • error: if there is an error, it is returned so that when the function is used, it can be reported.

Types

type Response

type Response struct {
	Error interface{}
}

Jump to

Keyboard shortcuts

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