func (s *Server) runHTTPSServer(ctx context.Context, errC chan<- error) {
	ctx, cancelFunc := context.WithCancel(ctx)
	s.lobby.Run(ctx, &s.wg)
	s.HTTPSServer.RegisterOnShutdown(cancelFunc)
	s.logServerStart()
	go s.serveTCP(s.HTTPSServer, errC, true, s.log)
}
// runHTTPSServer runs the https server in regards to the configuration, adding the return error to the channel when done.
runHTTPSServer runs the https server in regards to the configuration, adding the return error to the channel when done.
// runHTTPSServer runs the https server in regards to the configuration adding the return error to the channel when done .
func (s *Server) runHTTPSServer(ctx context.Context, errC chan<- error) {
	ctx, cancelFunc := context.WithCancel(ctx)
	s.lobby.Run(ctx, &s.wg)
	s.HTTPSServer.RegisterOnShutdown(cancelFunc)
	s.logServerStart()
	go s.serveTCP(s.HTTPSServer, errC, true, s.log)
}
func ( s * Server ) runHTTPSServer ( ctx context . Context , errC chan <- error ) { ctx , cancelFunc := context . WithCancel ( ctx ) s . lobby . Run ( ctx , & s . wg ) s . HTTPSServer . RegisterOnShutdown ( cancelFunc ) s . logServerStart ( ) go s . serveTCP ( s . HTTPSServer , errC , true , s . log ) }
runHTTPSServer runs the https server in regards to the configuration, adding the return error to the channel when done.
runHTTPSServer runs the https server in regards to the configuration adding the return error to the channel when done .