Documentation ¶
Index ¶
Constants ¶
View Source
const ( MEDIA_JSON = "application/json" MEDIA_PLAIN = "text/plain" MEDIA_HTML = "text/html" MEDIA_XML = "text/xml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
func GetDecoder ¶
type JSONDecoder ¶
type JSONDecoder struct{}
func (JSONDecoder) DecoderObj ¶
func (d JSONDecoder) DecoderObj(resp []byte, obj interface{}) (Decoder, error)
type StreamDecoder ¶
type StreamDecoder struct{}
func (StreamDecoder) DecoderObj ¶
func (d StreamDecoder) DecoderObj(resp []byte, obj interface{}) (Decoder, error)
type StringDecoder ¶
type StringDecoder struct{}
func (StringDecoder) DecoderObj ¶
func (d StringDecoder) DecoderObj(resp []byte, obj interface{}) (Decoder, error)
Click to show internal directories.
Click to hide internal directories.