Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectReader ¶
type ObjectReader interface {
Read() (interface{}, error)
}
func NewJSONReader ¶
func NewJSONReader(inStream io.Reader) ObjectReader
func NewTextReader ¶
func NewTextReader(inStream io.Reader) ObjectReader
func NewXMLBestEffortReader ¶
func NewXMLBestEffortReader(inStream io.Reader) ObjectReader
type RegexpShorthand ¶
type RegexpShorthand interface {
GetFirstMatch(string, string) (string, error)
GetAllMatches(string, string) ([]string, error)
}
func NewRegexpShorthand ¶
func NewRegexpShorthand() RegexpShorthand
type StreamTransformer ¶
type StreamTransformer interface {
Transform() error
}
func NewTemplateStreamTransformer ¶
func NewTemplateStreamTransformer( tplStr string, inStream ObjectReader, outStream io.Writer, ) (StreamTransformer, error)
type XMLShorthand ¶
type XMLShorthand interface {
GetFirstFull(io.Reader, string) (string, error)
GetAllFull(io.Reader, string) ([]string, error)
GetFirstInner(io.Reader, string) (string, error)
GetAllInner(io.Reader, string) ([]string, error)
}
func NewXMLShorthand ¶
func NewXMLShorthand() XMLShorthand
type XMLStringShorthand ¶
type XMLStringShorthand interface {
GetFirstFull(string, string) (string, error)
GetAllFull(string, string) ([]string, error)
GetFirstInner(string, string) (string, error)
GetAllInner(string, string) ([]string, error)
}
func NewXMLStringShorthand ¶
func NewXMLStringShorthand() XMLStringShorthand
Click to show internal directories.
Click to hide internal directories.