func (n *nauth) Close() {
	n.mutex.Lock()
	defer n.mutex.Unlock()

	close(n.closeC)
	n.generatedKeysC = nil
	n.closeC = make(chan bool)
}
// Close() closes and re-sets the key generator (better to call it only once,
// when the process is stopping, to avoid costly re-initialization)
Close() closes and re-sets the key generator (better to call it only once,
when the process is stopping, to avoid costly re-initialization)
// Close () closes and re - sets the key generator ( better to call it only once // when the process is stopping to avoid costly re - initialization )
func (n *nauth) Close() {
	n.mutex.Lock()
	defer n.mutex.Unlock()
	close(n.closeC)
	n.generatedKeysC = nil
	n.closeC = make(chan bool)
}
func ( n * nauth ) Close ( ) { n . mutex . Lock ( ) defer n . mutex . Unlock ( ) close ( n . closeC ) n . generatedKeysC = nil n . closeC = make ( chan bool ) }
Close() closes and re-sets the key generator (better to call it only once,
when the process is stopping, to avoid costly re-initialization)
Close () closes and re - sets the key generator ( better to call it only once when the process is stopping to avoid costly re - initialization )