Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFragments ¶
func GetFragments(hc HttpClient, r *http.Request, qs []*QueryElement)
Types ¶
type HttpClient ¶
type QueryElement ¶
type QueryElement struct { Selectors []string Element *container.Element // If not empty, Tag contains the tag of the element, which should // enclose the content. In that turn, all other HTML tags are stripped, // leaving only the bare tags. // If Tag is "-", it behaves much like Tag=="", except that the surrounding, // html-tag is also present in the output. Tag string // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.