Documentation ¶
Overview ¶
Package walker provides utilities for iterating through the message and all its parts.
Index ¶
- type Partsdeprecated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parts
deprecated
Parts is a function that can be processed for each part of a message.
Deprecated: Use walk.Processor with walk.AndProcess() or walk.Transformer with walk.AndTransform() instead.
func (Parts) Walk
deprecated
Walk performs a depth first search for all the parts of a message starting with the message itself. It calls the Parts for each part of the message. If the Parts function returns an error, then processing stops immediately and the error is returned.
Deprecated: Use walk.AndProcess() instead.
func (Parts) WalkMultipart
deprecated
WalkMultipart will call the Parts function for each Multiline message using a depth first traversal. It will terminate the walk immediately if the Parts function returns an error and will return that error.
Deprecated: Use walk.AndProcessMultipart() instead.
func (Parts) WalkOpaque
deprecated
WalkOpaque will call the Parts function for each Opaque message using a depth first traversal. It will terminate the walk immediately if the Parts function returns an error and will return the error.
Deprecated: Use walk.AndProcessOpaque() instead.