MCPcopy Create free account
hub / github.com/devfeel/dotweb / Binder

Interface Binder

bind.go:19–22  ·  view source on GitHub ↗

Binder is the interface that wraps the Bind method.

Source from the content-addressed store, hash-verified

17type (
18 // Binder is the interface that wraps the Bind method.
19 Binder interface {
20 Bind(interface{}, Context) error
21 BindJsonBody(interface{}, Context) error
22 }
23
24 binder struct{}
25)

Callers 9

TestBinder_Bind_jsonFunction · 0.65
TestBinder_Bind_xmlFunction · 0.65
TestBinder_Bind_defaultFunction · 0.65
TestBindFunction · 0.65
PostJsonBindFunction · 0.65

Implementers 3

binderbind.go
HttpContextcontext.go
userBinderexample/bind/main.go

Calls

no outgoing calls

Tested by

no test coverage detected