context

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContextError

func GetContextError(c *gin.Context) (err, err2 error)

GetContextError gets error.

func GetContextErrorMessage

func GetContextErrorMessage(c *gin.Context) (string, error)

GetContextErrorMessage gets error message.

func SetContextError

func SetContextError(c *gin.Context, err error)

SetContextError sets error.

func SetContextErrorMessage

func SetContextErrorMessage(c *gin.Context, message interface{})

SetContextErrorMessage sets error message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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