File tree 1 file changed +2
-8
lines changed
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ import "strings"
5
5
// ServiceClient stores details required to interact with a specific service API implemented by a provider.
6
6
// Generally, you'll acquire these by calling the appropriate `New` method on a ProviderClient.
7
7
type ServiceClient struct {
8
- // Provider is a reference to the provider that implements this service.
9
- Provider * ProviderClient
8
+ // ProviderClient is a reference to the provider that implements this service.
9
+ * ProviderClient
10
10
11
11
// Endpoint is the base URL of the service's API, acquired from a service catalog.
12
12
// It MUST end with a /.
@@ -30,9 +30,3 @@ func (client *ServiceClient) ResourceBaseURL() string {
30
30
func (client * ServiceClient ) ServiceURL (parts ... string ) string {
31
31
return client .ResourceBaseURL () + strings .Join (parts , "/" )
32
32
}
33
-
34
- // AuthenticatedHeaders returns a collection of HTTP request headers that mark a request as
35
- // belonging to the currently authenticated user.
36
- func (client * ServiceClient ) AuthenticatedHeaders () map [string ]string {
37
- return client .Provider .AuthenticatedHeaders ()
38
- }
You can’t perform that action at this time.
0 commit comments