Hello, greate project! I am going to import it as a component into my project.
At present, I am using gin to start the service through ListenAndServ(). For now, I have not found how to introduce a custom Listener on the Internet. How can I solve it? The following is fragment of my code
func (s *MyServer) ListenAndServe() {
s.Server.Handler = s.Engine
if err := s.Server.ListenAndServe(); err != nil {
}
}
Hello, greate project! I am going to import it as a component into my project. At present, I am using gin to start the service through ListenAndServ(). For now, I have not found how to introduce a custom Listener on the Internet. How can I solve it? The following is fragment of my code