Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func XML ¶
func XML(result interface{}, mopt ...httpsimp.ParseOption) httpsimp.Parser
JSON is a Parser function that verifies the response status code and content type (which must be ContentTypeJSON) and unmarshals the body into the result variable (which can be anything that you'd pass to json.Unmarshal).
Pass the result of this function into Do or Parse to handle a response.
Types ¶
type Credentials ¶
type Options ¶
type Options struct { Credentials MockData []byte }
type Post ¶
func LoadRecent ¶
func LoadRecent(req RecentRequest, opt Options) ([]*Post, error)
func (*Post) TitleOrURL ¶
type RecentRequest ¶
Click to show internal directories.
Click to hide internal directories.