add convenience method to pull params from config

This commit is contained in:
Joel Wetzell
2026-03-01 14:57:19 -06:00
parent 183182e6cd
commit c298f63ffc
69 changed files with 591 additions and 1081 deletions

View File

@@ -43,12 +43,12 @@ func TestBadHTTPServer(t *testing.T) {
{
name: "no port param",
params: map[string]any{},
errorString: "http.server requires a port parameter",
errorString: "http.server port error: not found",
},
{
name: "non-numeric port",
params: map[string]any{"port": "3000"},
errorString: "http.server port must be a number",
errorString: "http.server port error: not a number",
},
}