Publicly expose underlying net.Conn connections
Created by: mirceapasoi
I'm using the Acceptor
from quickfixgo
to maintain a bunch of FIX connections, and I'd like to implement IP whitelisting functionality.
From what I can tell, the Acceptor
maintains a private net.Listener
for managing the TCP connections:
https://github.com/quickfixgo/quickfix/blob/master/acceptor.go#L140
Would it be possible to publicly expose the underlying net.Conn
connections, so I can access RemoteAddr
for whitelisting?