handlers

package
v0.0.0-...-3bf487b Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	Ctx    *fiber.Ctx
	Status int
	Msg    string
	Data   fiber.Map
}

Response - Response data

func (Response) Send

func (r Response) Send() error

Send - Send output status, message and data

type ResponseData

type ResponseData struct {
	Msg  string    `json:"msg,omitempty"`
	Data fiber.Map `json:"data,omitempty"`
}

ResponseData - Response data fields

Jump to

Keyboard shortcuts

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