package
Version:
v0.0.0-...-70aaee8
Opens a new window with list of versions in this module.
Published: Mar 10, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(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.
type Response struct {
Error interface{}
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.