package
0.0.0-20180911130330-d3ccc4fb1d66
Repository: https://github.com/rglyons/kube-arangodb.git
Documentation: pkg.go.dev

# Packages

Package atom provides integer codes (also known as atoms) for a fixed set of frequently occurring HTML strings: tag names and attribute keys such as "p" and "id".

# Functions

EscapeString escapes special characters like "<" to become "&lt;".
NewTokenizer returns a new HTML Tokenizer for the given Reader.
NewTokenizerFragment returns a new HTML Tokenizer for the given Reader, for tokenizing an existing element's InnerHTML fragment.
Parse returns the parse tree for the HTML from the given Reader.
ParseFragment parses a fragment of HTML and returns the nodes that were found.
Render renders the parse tree n to the given writer.
UnescapeString unescapes entities like "&lt;" to become "<".

# Constants

No description provided by the author
A CommentToken looks like <!--x-->.
No description provided by the author
A DoctypeToken looks like <!DOCTYPE x>.
No description provided by the author
No description provided by the author
An EndTagToken looks like </a>.
No description provided by the author
ErrorToken means that an error occurred during tokenization.
A SelfClosingTagToken tag looks like <br/>.
A StartTagToken looks like <a>.
No description provided by the author
TextToken means a text node.

# Variables

ErrBufferExceeded means that the buffering limit was exceeded.

# Structs

An Attribute is an attribute namespace-key-value triple.
A Node consists of a NodeType and some Data (tag name for element nodes, content for text) and are part of a tree of Nodes.
A Token consists of a TokenType and some Data (tag name for start and end tags, content for text, comments and doctypes).
A Tokenizer returns a stream of HTML Tokens.

# Type aliases

A NodeType is the type of a Node.
A TokenType is the type of a Token.