Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeProcessor ¶
type CompositeProcessor struct {
// contains filtered or unexported fields
}
CompositeProcessor combines multiple HTML processors into one. During the processing stage, it will apply each processor in the order they were added.
func NewCompositeProcessor ¶
func NewCompositeProcessor(processors ...HTMLProcessor) *CompositeProcessor
NewCompositeProcessor creates a new CompositeProcessor with the given processors.
type HTMLProcessor ¶
HTMLProcessor defines the interface for processing HTML content
type PremailerProcessor ¶
type PremailerProcessor struct {
// contains filtered or unexported fields
}
PremailerProcessor implements HTMLProcessor using premailer
func NewPremailerProcessor ¶
func NewPremailerProcessor(options *premailer.Options) *PremailerProcessor
NewPremailerProcessor creates a new PremailerProcessor with the given options
Click to show internal directories.
Click to hide internal directories.