handler

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendRedirect

func SendRedirect(c *gin.Context, data string)

func SendRedirect302

func SendRedirect302(c *gin.Context, data string)

func SendResponse

func SendResponse(c *gin.Context, err error, data interface{})

func SendResultResponse

func SendResultResponse(c *gin.Context, err error, data interface{})

Types

type UploadResponse

type UploadResponse struct {
	Filename string `json:"filename"`
	Value    string `json:"value"`
	URL      string `json:"url"`
	Hash     string `json:"hash"`
}

https://baidu.gitee.io/amis/zh-CN/components/form/input-file

Directories

Path Synopsis
webhook_handler

Jump to

Keyboard shortcuts

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