Skip to content

RunWithListener() added

Compare
Choose a tag to compare
@wneessen wneessen released this 06 Oct 12:26
· 17 commits to main since this release
7a643f5

To allow running a policy server on i. e. a UNIX socket, the Run() method has been decoupled from the listener handling. This is now managed by the RunWithListener() method. Using the Run() still provides the standard behaviour of starting a TCP server, but with the RunWithListener() one can now provide their own net.Listener.