Documentation ¶ Overview ¶ Package probe provides a function for waiting for a server endpoint to become available. Index ¶ func WaitForHealthy(ctx context.Context, u *url.URL) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func WaitForHealthy ¶ func WaitForHealthy(ctx context.Context, u *url.URL) error WaitForHealthy polls a URL repeatedly until the server responds with a non-server-error status, the context is canceled, or the context's deadline is met. WaitForHealthy returns an error in the latter two cases. Types ¶ This section is empty. Source Files ¶ View all Source files probe.go Click to show internal directories. Click to hide internal directories.