github.com/mholt/caddy-l4@v0.0.0-20241104153248-ec8fae209322/integration/caddyfile_adapt/gd_handler_echo.caddytest (about)

     1  {
     2  	layer4 {
     3  		0.0.0.0:8888 {
     4  			route {
     5  				echo
     6  			}
     7  		}
     8  	}
     9  }
    10  ----------
    11  {
    12  	"apps": {
    13  		"layer4": {
    14  			"servers": {
    15  				"srv0": {
    16  					"listen": [
    17  						"0.0.0.0:8888"
    18  					],
    19  					"routes": [
    20  						{
    21  							"handle": [
    22  								{
    23  									"handler": "echo"
    24  								}
    25  							]
    26  						}
    27  					]
    28  				}
    29  			}
    30  		}
    31  	}
    32  }