Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler 封装好的Handler,直接传要返回的东西即可
func CreateHandler ¶
func CreateHandler(w http.ResponseWriter, r *http.Request) *Handler
CreateHandler 封装处理handler
func (*Handler) DecodePost ¶
DecodePost 读取post数据
func (*Handler) DecodeQuery ¶
DecodeQuery 读取query数据
Click to show internal directories.
Click to hide internal directories.