proxy.golang.org : github.com/rorycl/mailboxoperator
MailboxOperator is a golang package for reading the emails in mbox and maildir format mailboxes and passing each email to a func meeting the interface `Operator` with the signature `(r io.Reader) error`. The package reads the provided mailboxes concurrently, and provides WorkersNum worker goroutines to run the `Operator` function. Shared resources used by the Operator should be safe for concurrent use. An error from any one call to the Operator will shut down both the workers and mailbox producer goroutines and return the first error. Reading xz, gz and bz2 compressed mbox files is supported transparently.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rorycl/mailboxoperator
Keywords:
golang
, golang-package
, maildir
, mbox
License: MIT
Latest release: about 1 month ago
First release: 5 months ago
Namespace: github.com/rorycl
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 16 days ago