Having a pool of connections would be handy. My current implementation could also work with a few changes for this project. It would mean a new major version this project, as it needs the ldap.Conn as an interface:
https://github.com/zalando/go-ldap/tree/master/ldappool
Having a pool of connections would be handy. My current implementation could also work with a few changes for this project. It would mean a new major version this project, as it needs the ldap.Conn as an interface: https://github.com/zalando/go-ldap/tree/master/ldappool
Note: despite the same name, that go-ldap is a rewritten version of https://github.com/mqu/openldap, the pooling is adapted from https://github.com/fatih/pool.
(if that works, I can finally get rid of the C code :))