SetTLSHandler Can be used to set ClientHelloInfo when using TLS with Listener.
(tlsHandler *TLSHandler)
| 909 | |
| 910 | // SetTLSHandler Can be used to set ClientHelloInfo when using TLS with Listener. |
| 911 | func (app *App) SetTLSHandler(tlsHandler *TLSHandler) { |
| 912 | // Attach the tlsHandler to the config |
| 913 | app.mutex.Lock() |
| 914 | app.tlsHandler = tlsHandler |
| 915 | app.mutex.Unlock() |
| 916 | } |
| 917 | |
| 918 | // Name Assign name to specific route. |
| 919 | func (app *App) Name(name string) Router { |