MCPcopy Create free account
hub / github.com/imroc/req / SetCommonBearerAuthToken

Function SetCommonBearerAuthToken

client_wrapper.go:404–406  ·  view source on GitHub ↗

SetCommonBearerAuthToken is a global wrapper methods which delegated to the default client's Client.SetCommonBearerAuthToken.

(token string)

Source from the content-addressed store, hash-verified

402// SetCommonBearerAuthToken is a global wrapper methods which delegated
403// to the default client's Client.SetCommonBearerAuthToken.
404func SetCommonBearerAuthToken(token string) *Client {
405 return defaultClient.SetCommonBearerAuthToken(token)
406}
407
408// SetCommonBasicAuth is a global wrapper methods which delegated
409// to the default client's Client.SetCommonBasicAuth.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…