Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BodyEncode ¶
type BodyEncode struct {
// contains filtered or unexported fields
}
func NewBodyEncode ¶
func NewBodyEncode(obj interface{}) *BodyEncode
type FormEncode ¶
func NewFormEncode ¶
func NewFormEncode(b *bytes.Buffer) *FormEncode
func (*FormEncode) Add ¶
func (f *FormEncode) Add(key string, v reflect.Value, sf reflect.StructField) (err error)
func (*FormEncode) End ¶
func (f *FormEncode) End() error
func (*FormEncode) Name ¶
func (f *FormEncode) Name() string
type HeaderEncode ¶
type HeaderEncode struct {
// contains filtered or unexported fields
}
func NewHeaderEncode ¶
func NewHeaderEncode(req *http.Request) *HeaderEncode
func (*HeaderEncode) Add ¶
func (h *HeaderEncode) Add(key string, v reflect.Value, sf reflect.StructField) error
func (*HeaderEncode) Name ¶
func (h *HeaderEncode) Name() string
type JsonEncode ¶
type JsonEncode struct {
// contains filtered or unexported fields
}
func NewJsonEncode ¶
func NewJsonEncode(obj interface{}) *JsonEncode
type QueryEncode ¶
type QueryEncode struct {
// contains filtered or unexported fields
}
func NewQueryEncode ¶
func NewQueryEncode(req *http.Request) *QueryEncode
func (*QueryEncode) Add ¶
func (q *QueryEncode) Add(key string, v reflect.Value, sf reflect.StructField) error
func (*QueryEncode) End ¶
func (q *QueryEncode) End() string
func (*QueryEncode) Name ¶
func (q *QueryEncode) Name() string
type XmlEncode ¶
type XmlEncode struct {
// contains filtered or unexported fields
}
func NewXmlEncode ¶
func NewXmlEncode(obj interface{}) *XmlEncode
type YamlEncode ¶
type YamlEncode struct {
// contains filtered or unexported fields
}
func NewYamlEncode ¶
func NewYamlEncode(obj interface{}) *YamlEncode
Source Files ¶
Click to show internal directories.
Click to hide internal directories.