Exemplo n.º 1
0
func startTLSServer(r *gin.Engine, wg *sync.WaitGroup) {
	defer wg.Done()

	crtFile := config.mustGetString("parsemap", "crt_file")
	keyFile := config.mustGetString("parsemap", "key_file")
	listen := httpsListenString()
	r.RunTLS(listen, crtFile, keyFile)
}