// Clean function removes all the TLS information from the Queue
Clean function removes all the TLS information from the Queue
// Clean function removes all the TLS information from the Queue
func (p *TLSRelay) Clean() []string {
	var res []string
	for p.Len() > 0 {
		x := <-p.tlsInfo
		res = append(res, x)
	}
	return res
}
func ( p * TLSRelay ) Clean ( ) [ ] string { var res [ ] string for p . Len ( ) > 0 { x := <- p . tlsInfo res = append ( res , x ) } return res }
Clean function removes all the TLS information from the Queue
Clean function removes all the TLS information from the Queue