SetAuthHeader sets the appropriate authentication header on req.
func (ep WriteEndpoint) SetAuthHeader(req *http.Request)SetAuthHeader sets the appropriate authentication header on req. Bearer token takes precedence over API key.
| Name | Type | Description |
|---|---|---|
req* | *http.Request |