bundle

package
v0.0.0-...-1ecfe31 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package bundle implements a file writer that packages all relevant processing data into a tar archive for debugging or further processing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func New

func New(w io.Writer, debug bool) *Writer

New creates a new writer. If debug is enabled, it will also persist objects that are only for debugging needed.

func (*Writer) AddInitScript

func (b *Writer) AddInitScript(script string)

func (*Writer) AddLuaExecTrace

func (b *Writer) AddLuaExecTrace(nodePath []string)

func (*Writer) AddLuaNodeList

func (b *Writer) AddLuaNodeList(nodeList []*xmltree.Node)

func (*Writer) AddLuaProg

func (b *Writer) AddLuaProg(luaProg string)

func (*Writer) AddTemplateMimeType

func (b *Writer) AddTemplateMimeType(mt string)

func (*Writer) AddTemplateXMLTree

func (b *Writer) AddTemplateXMLTree(tree *xmltree.Node)

func (*Writer) AddXMLResult

func (b *Writer) AddXMLResult(doc string)

func (*Writer) Close

func (b *Writer) Close() error

Jump to

Keyboard shortcuts

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