Documentation
¶
Index ¶
Constants ¶
View Source
const (
ContentTypeJSON = "application/json"
)
View Source
const (
ContentTypeXML = "application/xml"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSON ¶
type JSON struct {
// contains filtered or unexported fields
}
func (*JSON) ContentType ¶
func (*JSON) OverrideContentType ¶
func (*JSON) Serializer ¶
func (m *JSON) Serializer() restlib.Serializer
type XML ¶
type XML struct {
// contains filtered or unexported fields
}
func (*XML) ContentType ¶
func (*XML) OverrideContentType ¶
func (*XML) Serializer ¶
func (m *XML) Serializer() restlib.Serializer
Click to show internal directories.
Click to hide internal directories.