Searched defs:AuthorizationTransport (Results 1 – 2 of 2) sorted by relevance
276 type AuthorizationTransport struct { struct277 SecretID string278 SecretKey string279 SessionToken string280 rwLocker sync.RWMutex282 Expire time.Duration283 Transport http.RoundTripper287 func (t *AuthorizationTransport) SetCredential(ak, sk, token string) {296 func (t *AuthorizationTransport) GetCredential() (string, string, string) {303 func (t *AuthorizationTransport) RoundTrip(req *http.Request) (*http.Response, error) {[all …]
270 type AuthorizationTransport struct { struct271 SecretID string272 SecretKey string274 SessionToken string276 Expire time.Duration279 Transport http.RoundTripper283 func (t *AuthorizationTransport) RoundTrip(req *http.Request) (*http.Response, error) {300 func (t *AuthorizationTransport) transport() http.RoundTripper {