builders

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2020 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Name  []byte
	Value []byte
}

Attribute ...

type FlattenBuilder added in v1.6.1

type FlattenBuilder struct {
	// contains filtered or unexported fields
}

FlattenBuilder ...

func (*FlattenBuilder) AddAttribute added in v1.6.1

func (builder *FlattenBuilder) AddAttribute(name []byte, value []byte)

AddAttribute ...

func (FlattenBuilder) AddTag added in v1.6.1

func (builder FlattenBuilder) AddTag(name []byte)

AddTag ...

func (FlattenBuilder) AttributeValues added in v1.6.1

func (builder FlattenBuilder) AttributeValues() [][]byte

AttributeValues ...

type StructuralBuilder

type StructuralBuilder struct {
	// contains filtered or unexported fields
}

StructuralBuilder ...

func (*StructuralBuilder) AddAttribute

func (builder *StructuralBuilder) AddAttribute(name []byte, value []byte)

AddAttribute ...

func (*StructuralBuilder) AddTag

func (builder *StructuralBuilder) AddTag(name []byte)

AddTag ...

func (StructuralBuilder) Tags

func (builder StructuralBuilder) Tags() []Tag

Tags ...

type Tag

type Tag struct {
	Name       []byte
	Attributes []Attribute
}

Tag ...

type TextBuilder added in v1.6.1

type TextBuilder struct {
	// contains filtered or unexported fields
}

TextBuilder ...

func (*TextBuilder) AddText added in v1.6.1

func (builder *TextBuilder) AddText(text []byte)

AddText ...

func (TextBuilder) TextParts added in v1.6.1

func (builder TextBuilder) TextParts() [][]byte

TextParts ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL