http

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 1 Imported by: 35

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FormRequest

type FormRequest interface {
	Messages() map[string]string
	Authorize() bool
}

type Request

type Request interface {
	Validate(c *gin.Context, request FormRequest) []error
}

type Response

type Response interface {
	Success(c *gin.Context, data interface{})
	Custom(c *gin.Context, data interface{}, code int)
}

Jump to

Keyboard shortcuts

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