logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

dnsjit.filter.split - Passthrough to other receivers in various ways

Authors And Contributors

       Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)

       Maintained by DNS-OARC

              https://www.dns-oarc.net/

Bugs

       For issues and feature requests please use:

              https://github.com/DNS-OARC/dnsjit/issues

       For question and help please use:

              admin@dns-oarc.net

dnsjit                                                1.5.0                               dnsjit.filter.split(3)

Description

       Filter to pass objects to others in various ways.

   FunctionsSplit.new()
              Create a new Split filter.

       Split:log()
              Return the Log object to control logging of this instance or module.

       Split:roundrobin()
              Set the passthrough mode to round robin (default mode).

       Split:sendall()
              Set the passthrough mode to send to all receivers.

       Split:receive()
              Return the C functions and context for receiving objects.

       Split:receiver(o)
              Set the receiver to pass objects to, this can be called multiple times to set addtional receivers.

Name

       dnsjit.filter.split - Passthrough to other receivers in various ways

Synopsis

         local filter = require("dnsjit.filter.split").new()
         filter.receiver(...)
         filter.receiver(...)
         filter.receiver(...)
         input.receiver(filter)

See Also