Versions in this module Expand all Collapse all v0 v0.7.0 Mar 19, 2019 Changes in this version + var ErrInvalidPath = core.Error(core.ErrInvalidOperation, "invalid path") + var ErrReadOnly = core.Error(core.ErrInvalidOperation, "read only") + func DeserializeStyles(input values.String) (*values.Object, error) + func GetInDocument(ctx context.Context, doc drivers.HTMLDocument, path []core.Value) (core.Value, error) + func GetInElement(ctx context.Context, el drivers.HTMLElement, path []core.Value) (core.Value, error) + func GetInNode(ctx context.Context, node drivers.HTMLNode, path []core.Value) (core.Value, error) + func NewIterator(node drivers.HTMLElement) (core.Iterator, error) + func PathToString(path []core.Value) string + func SerializeStyles(_ context.Context, styles *values.Object) values.String + func SetInDocument(ctx context.Context, doc drivers.HTMLDocument, path []core.Value, ...) error + func SetInElement(ctx context.Context, el drivers.HTMLElement, path []core.Value, ...) error + func SetInNode(_ context.Context, _ drivers.HTMLNode, path []core.Value, _ core.Value) error + type Iterator struct + func (iterator *Iterator) Next(ctx context.Context) (value core.Value, key core.Value, err error) + type LazyValueFactory func(ctx context.Context) (core.Value, error) v0.6.0 Dec 25, 2018 Changes in this version + const RandomUserAgent + var Attributes = []string + func GetUserAgent(val string) string + func IsAttribute(name string) bool + func ToHTMLType(nt html.NodeType) int + type LazyFactory func() (core.Value, error) + type LazyValue struct + func NewLazyValue(factory LazyFactory) *LazyValue + func (lv *LazyValue) Read() (core.Value, error) + func (lv *LazyValue) Ready() bool + func (lv *LazyValue) Reset() + func (lv *LazyValue) Write(writer func(v core.Value, err error))