Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteDocument ¶
type ByteDocument []byte
ByteDocument is simple implementation on Document interface Also it is plain wrapper over byte slice
func (ByteDocument) GetHeaders ¶
func (ByteDocument) GetHeaders() http.Header
GetHeaders returns empty headers map
type DOMDocument ¶
type DOMDocument interface { Document DOMSelection }
DOMDocument is an extended version of document, that supports DOM operations
type DOMSelection ¶
type DOMSelection interface { Size() int Find(query string) DOMSelection Attr(attr, defaultValue string) string Each(func(DOMSelection)) ReadText(query string, target *string) error ReadAttr(query, attr string, target *string) error AsText() string }
DOMSelection describes DOM node
Click to show internal directories.
Click to hide internal directories.