ContentConverter defines the interface for converting a message type's raw content to human-readable text.
| 18 | |
| 19 | // ContentConverter defines the interface for converting a message type's raw content to human-readable text. |
| 20 | type ContentConverter interface { |
| 21 | Convert(ctx *ConvertContext) string |
| 22 | } |
| 23 | |
| 24 | // ConvertContext holds all context needed for content conversion. |
| 25 | type ConvertContext struct { |
no outgoing calls
no test coverage detected