package
Version:
v3.44.0
Opens a new window with list of versions in this module.
Published: Apr 9, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
HasTag checks whether a message part has a particular tag associated with it.
WithTag returns a message with a tag attached to it via context. A message
can have any number of tags.
type Tag struct {
Index int
}
Tag is a struct that can be appended to a message via context in order to
identify it (and derivatives) after processing.
NewTag creates a new tag to be associated with a message.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.