Encode takes messages from the messages channel, encodes them in the desired format, and writes them to storage. When the messages channel is closed it will also close the storage writer.
(messages <-chan message.Message, storage storage.Writer)
| 12 | // Encode takes messages from the messages channel, encodes them in the desired format, and writes them to |
| 13 | // storage. When the messages channel is closed it will also close the storage writer. |
| 14 | Encode(messages <-chan message.Message, storage storage.Writer) error |
| 15 | // GetMimeType returns the MIME type of this format |
| 16 | GetMimeType() string |
| 17 | // GetFileExtension returns the desired file extension for this format |
no outgoing calls