Processors¶
docproc’s core command, docproc.proc offers a set of different, simple processing tools, which can enhance, change, transform or send message contents.
The following pages provide in-depth information about the different processors and their usage.
- CommandProc
- Executes an external command with a part of the message content and stores the output in the message.
- ContentValidator
- Validates the message contents against a predefined set of rules.
- FileWriter
- Writes a specific entry of the message content to a file on disk.
- HTMLRenderer
- Provides templating support via Go’s
html/template
package. It is similar to the TemplateTransformer, except thathtml/template
contains some builtin safety nets for HTML content. - HTTPSender
- Sends a specific entry of the message content via HTTP POST to an HTTP host.
- PerformanceChecker
- Simple performance measurement for messages.
- TemplateTransformer
- Provides templating support via Go’s
text/template
package. - ValueEnricher
- Enables docproc to add new content to a message or to modify existing content of the message.