Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpTestserverRunner ¶
func HttpTestserverRunner(server *httptest.Server, started chan struct{}) srv_configs.HttpServerRunner
Types ¶
type TestServer ¶
type TestServer struct { TestServer *httptest.Server Addr string Ctx context.Context //nolint:containedctx // test Cancel context.CancelFunc }
func RunTestServerCmd ¶
func RunTestServerCmd(t *testing.T, serverName string, buildInfo model.BuildInfo, serverConfig srv_configs.ServerConfiger, testConfig srv_configs.TestConfiger, args []string, log *slog.Logger, ) *TestServer
Click to show internal directories.
Click to hide internal directories.