Skip to content

Commit

Permalink
Add function comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
NullHypothesis committed Nov 22, 2024
1 parent aa8af19 commit e8120e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/httpx/httpx.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ func NewUnauthClient() *http.Client {
}
}

// WaitForSvc waits for the service (specified by the URL) to become available
// by making repeated HTTP GET requests using the given HTTP client. This
// function blocks until 1) the service responds with an HTTP response or 2) the
// given context expires.
func WaitForSvc(
ctx context.Context,
client *http.Client,
Expand Down

0 comments on commit e8120e9

Please sign in to comment.