Accept an http.Client in Client struct