http

package
v1.0.1006 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONWriter

type JSONWriter interface {
	JSON(code int, data any)
}

json 输出

type PathParamReader

type PathParamReader interface {
	Param(key string) string
}

路径数据读

type QueryReader

type QueryReader interface {
	Query(key string) string
	DefaultQuery(key string, def string) string
}

查询读

type Reader

type Reader interface {
	BindJSON(i any) error
	ShouldBind(i any) error
	PostForm(key string) string
}

读接口

type Writer

type Writer interface {
	JSONWriter
}

写接口

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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