(in, name, value string)
| 74 | } |
| 75 | |
| 76 | func NewAPIKeyStrategy(in, name, value string) AuthStrategy { |
| 77 | return &apiKeyStrategy{ |
| 78 | in: in, |
| 79 | name: name, |
| 80 | value: value, |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | func (c *apiKeyStrategy) apply(req *retryablehttp.Request) { |
| 85 | switch c.in { |
no outgoing calls