utils

package
v0.0.0-...-ffb043f Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseInterface

type ResponseInterface interface {
	JSON(c echo.Context) error

	MiddlewareJson(w http.ResponseWriter)
}

func Error

func Error(statusCode int, systemCode, errorMessage string, err error) ResponseInterface

func Success

func Success(statusCode int, systemCode string, data interface{}) ResponseInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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