()
| 830 | } |
| 831 | |
| 832 | func (w *Writer) readTimeout() time.Duration { |
| 833 | if w.ReadTimeout > 0 { |
| 834 | return w.ReadTimeout |
| 835 | } |
| 836 | return 10 * time.Second |
| 837 | } |
| 838 | |
| 839 | func (w *Writer) writeTimeout() time.Duration { |
| 840 | if w.WriteTimeout > 0 { |
no outgoing calls
no test coverage detected