exml

package
v0.0.0-...-8f05a37 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attrs

type Attrs []xml.Attr

func (Attrs) Get

func (a Attrs) Get(name string) (string, error)

type CharData

type CharData xml.CharData

type Decoder

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

func NewDecoder

func NewDecoder(r io.Reader) *Decoder

func (*Decoder) Append

func (d *Decoder) Append(a *[]string) func(CharData)

func (*Decoder) Assign

func (d *Decoder) Assign(slot *string) func(CharData)

func (*Decoder) Error

func (d *Decoder) Error(err error)

func (*Decoder) On

func (d *Decoder) On(event string, handler Handler)

func (*Decoder) OnError

func (d *Decoder) OnError(handler ErrorHandler)

func (*Decoder) Run

func (d *Decoder) Run()

type ElemHandler

type ElemHandler func(Attrs)

type ErrorHandler

type ErrorHandler func(error)

type Handler

type Handler interface{}

type TextHandler

type TextHandler func(CharData)

Jump to

Keyboard shortcuts

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