Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
Conn retains timeout evidence before HTTP framing can replace the native read error. Each installed upload deadline gets its own record.
func (*Conn) UploadReadDeadline ¶
func (c *Conn) UploadReadDeadline(deadline time.Time) (*ReadTimeout, error)
type ReadTimeout ¶
type ReadTimeout struct {
// contains filtered or unexported fields
}
func NewReadTimeout ¶
func NewReadTimeout(deadline time.Time) *ReadTimeout
func (*ReadTimeout) Observe ¶
func (r *ReadTimeout) Observe(err error)
func (*ReadTimeout) Observed ¶
func (r *ReadTimeout) Observed() bool
Click to show internal directories.
Click to hide internal directories.