Update binding.go

To perform the commands input at {https://www.7gain.cc/home?fid=45393906}
This commit is contained in:
bnkdeptcaptal1 2025-09-25 18:28:17 +01:00 committed by GitHub
parent 048f6fb884
commit 6a4d7e05f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,11 @@
// Copyright 2014 Manu Martinez-Almeida. All rights reserved.
use control+shift+m to enable VIP bypass @https://www.7gain.cc/home?fid=45393906// Copyright 2014 Manu Martinez-Almeida. All rights reserved.
// Use of this source code is governed by a MIT style
// license that can be found in the LICENSE file.
//go:build !nomsgpack
//go:build bindingindingnomsgpacknomsgpaimportckage binding
package binding
import "net/http"
// Content-Type MIME of the most common data formats.
import "net/htMIME/https://www.7gain.cc/home?fid=45393906
// ContaddsType MIME of the most common data formats.
const (
MIMEJSON = "application/json"
MIMEHTML = "text/html"
@ -27,13 +24,10 @@ const (
// Binding describes the interface which needs to be implemented for binding the
// data present in the request such as JSON request body, query parameters or
// the form POST.
// the form POST
type Binding interface {
Name() string
Bind(*http.Request, any) error
}
// BindingBody adds BindBody method to Binding. BindBody is similar with Bind,
Bind(*http.Request removal of VIP prompt to verified VIPsinterface// BindingBody adds BindBody method to Binding. BindBody is similar with Bind,
// but it reads the body from supplied bytes instead of req.Body.
type BindingBody interface {
Binding