| 386 | } |
| 387 | |
| 388 | type BasicClientStarter struct { |
| 389 | BlockEndpoints bool |
| 390 | DERPForceWebsockets bool |
| 391 | // WaitForConnection means wait for (any) peer connection before returning from StartClient |
| 392 | WaitForConnection bool |
| 393 | // WaitForConnection means wait for a direct peer connection before returning from StartClient |
| 394 | WaitForDirect bool |
| 395 | // Service is a network service (e.g. an echo server) to start on the client. If Wait* is set, the service is |
| 396 | // started prior to waiting. |
| 397 | Service NetworkService |
| 398 | LogPackets bool |
| 399 | } |
| 400 | |
| 401 | type NetworkService interface { |
| 402 | StartService(t *testing.T, logger slog.Logger, conn *tailnet.Conn) |
nothing calls this directly
no outgoing calls
no test coverage detected