definitions

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseHandler

type BaseHandler struct {
	ID string
}

func (*BaseHandler) DecodeMap

func (b *BaseHandler) DecodeMap(input interface{}, output interface{}) error

func (*BaseHandler) GetID

func (b *BaseHandler) GetID() string

type EngineFileHandler

type EngineFileHandler interface {
	Read() (io.Reader, error)
	Write() (io.Writer, error)
	Close()
}

type EngineFlowObject

type EngineFlowObject struct {
	Pages    int                    `json:"pages"`
	Metadata map[string]interface{} `json:"metadata"`
}

func (*EngineFlowObject) EvaluateExpression

func (e *EngineFlowObject) EvaluateExpression(input string) (string, error)

type Handler

type Handler interface {
	GetID() string
	Name() string
	Handle(info *EngineFlowObject, fileHandler EngineFileHandler) (*EngineFlowObject, error)
}

type PrintInfo

type PrintInfo struct {
	Filepath string
	Pages    int
}

Jump to

Keyboard shortcuts

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