]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: avoid polluting the main package
authorEric Wong <e@80x24.org>
Thu, 3 Mar 2016 05:14:30 +0000 (05:14 +0000)
committerEric Wong <e@80x24.org>
Thu, 3 Mar 2016 09:19:05 +0000 (09:19 +0000)
commitb8e30717b529d6461190b54efa8c6402197cdd4e
treea111e85337f3aee4ddc9adafb7b9fd0cbfd8ea1a
parent5cddfa50765d59157e15488c235fe01202db0972
daemon: avoid polluting the main package

We've distilled the daemon code into one public function ("run"),
so avoid polluting the main namespace and just have users
prefix with the full package name for this rarely-used class.
lib/PublicInbox/Daemon.pm
script/public-inbox-httpd
script/public-inbox-nntpd