We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
Just ignore it, I have the Listener exposed from easytcp so I can use it with tls.NewListner, not yet tested though.
Listener
easytcp
tls.NewListner
Sorry, something went wrong.
How about add a ServeTLS method to Server ?
ServeTLS
func (s *Server) ServeTLS(addr string, config *tls.Config) error { address, err := net.ResolveTCPAddr("tcp", addr) if err != nil { return err } lis, err := net.ListenTCP("tcp", address) if err != nil { return err } s.Listener = tls.NewListener(lis, config) if s.printRoutes { s.router.printHandlers(fmt.Sprintf("tcp://%s", s.Listener.Addr())) } return s.acceptLoop() }
Successfully merging a pull request may close this issue.
No description provided.
The text was updated successfully, but these errors were encountered: