SetExpire sets the expire duration in the lower p.transport.
(expire time.Duration)
| 51 | |
| 52 | // SetExpire sets the expire duration in the lower p.transport. |
| 53 | func (p *Proxy) SetExpire(expire time.Duration) { p.transport.SetExpire(expire) } |
| 54 | |
| 55 | // SetMaxAge sets the maximum connection lifetime in the lower p.transport. |
| 56 | // A value of 0 (default) disables max-age. |
no outgoing calls