Documentation ¶
Index ¶
- func Form(form url.Values) easyhttp.Interceptor
- func JSON(obj interface{}, marshalFunc ...func(v interface{}) ([]byte, error)) easyhttp.Interceptor
- func Object(obj interface{}, contentType string, ...) easyhttp.Interceptor
- func Protobuf(obj proto.Message, marshalFunc ...func(v proto.Message) ([]byte, error)) easyhttp.Interceptor
- func Reader(body io.Reader, contentType string) easyhttp.Interceptor
- func Text(text string) easyhttp.Interceptor
- func XML(obj interface{}, marshalFunc ...func(v interface{}) ([]byte, error)) easyhttp.Interceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSON ¶
func JSON(obj interface{}, marshalFunc ...func(v interface{}) ([]byte, error)) easyhttp.Interceptor
func Object ¶
func Object(obj interface{}, contentType string, marshalFunc func(v interface{}) ([]byte, error)) easyhttp.Interceptor
func Text ¶
func Text(text string) easyhttp.Interceptor
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.