func (s *Server) Run(ctx context.Context) <-chan error {
	errC := make(chan error, 2)
	s.runHTTPServer(ctx, errC)
	s.runHTTPSServer(ctx, errC)
	return errC
}
// Run the server asynchronously until it receives a shutdown signal.
// When the HTTP/HTTPS servers stop, errors are logged to the error channel.
Run the server asynchronously until it receives a shutdown signal.
When the HTTP/HTTPS servers stop, errors are logged to the error channel.
// Run the server asynchronously until it receives a shutdown signal . // When the HTTP / HTTPS servers stop errors are logged to the error channel .
func (s *Server) Run(ctx context.Context) <-chan error {
	errC := make(chan error, 2)
	s.runHTTPServer(ctx, errC)
	s.runHTTPSServer(ctx, errC)
	return errC
}
func ( s * Server ) Run ( ctx context . Context ) <- chan error { errC := make ( chan error , 2 ) s . runHTTPServer ( ctx , errC ) s . runHTTPSServer ( ctx , errC ) return errC }
Run the server asynchronously until it receives a shutdown signal.
Run the server asynchronously until it receives a shutdown signal .