Documentation ¶
Overview ¶
Package responsecontenttype
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Json = ResponseContentType{"json"} Yaml = ResponseContentType{"yaml"} Text = ResponseContentType{"text"} )
Functions ¶
This section is empty.
Types ¶
type ResponseContentType ¶
type ResponseContentType struct {
Name string
}
func (ResponseContentType) MarshalText ¶
func (r ResponseContentType) MarshalText() (text []byte, err error)
func (ResponseContentType) String ¶
func (r ResponseContentType) String() string
func (*ResponseContentType) UnmarshalText ¶
func (r *ResponseContentType) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.