()
| 75 | } |
| 76 | |
| 77 | func (gateway *Gateway) AsyncTimeout() time.Duration { |
| 78 | if gateway.config.AsyncTimeout() > 0 { |
| 79 | return time.Duration(gateway.config.AsyncTimeout()) * time.Minute |
| 80 | } |
| 81 | |
| 82 | return 0 |
| 83 | } |
| 84 | |
| 85 | func (gateway *Gateway) SetTokenRefresher(auth tokenRefresher) { |
| 86 | gateway.authenticator = auth |
no test coverage detected