Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagName_Json = "json" TagName_Multipart = "multipart" TagName_Key = "key" TagName_Query = "query" True = "true" )
Variables ¶
This section is empty.
Functions ¶
func BuildJsonContentBinder ¶
func BuildJsonContentBinder(rv reflect.Value) structproto.ValueBinder
Types ¶
type JsonContentBinder ¶
func (JsonContentBinder) Bind ¶
func (binder JsonContentBinder) Bind(content interface{}) error
type UrlQueryContentBinder ¶
type UrlQueryContentBinder struct {
// contains filtered or unexported fields
}
func NewUrlQueryContentBinder ¶
func NewUrlQueryContentBinder(values url.Values) *UrlQueryContentBinder
func (*UrlQueryContentBinder) Bind ¶
func (binder *UrlQueryContentBinder) Bind(field structproto.FieldInfo, rv reflect.Value) error
func (*UrlQueryContentBinder) Deinit ¶
func (binder *UrlQueryContentBinder) Deinit(context *structproto.StructProtoContext) error
func (*UrlQueryContentBinder) Init ¶
func (binder *UrlQueryContentBinder) Init(context *structproto.StructProtoContext) error
Click to show internal directories.
Click to hide internal directories.