common

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPageRow

func CheckPageRow(c echo.Context) (page int, row int, err error)

func GetHTTPRequest

func GetHTTPRequest(URL string, username string, password string) ([]byte, error)

func ReturnErrorMsg

func ReturnErrorMsg(c echo.Context, msg string) error

func ReturnInternalError

func ReturnInternalError(c echo.Context, err error, reason string) error

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

Jump to

Keyboard shortcuts

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