12 lines
299 B
Go
12 lines
299 B
Go
package utp
|
|
|
|
import "net"
|
|
|
|
type errDeadlineExceeded struct{}
|
|
|
|
var _ net.Error = errDeadlineExceeded{}
|
|
|
|
func (errDeadlineExceeded) Error() string { return "deadline exceeded" }
|
|
func (errDeadlineExceeded) Temporary() bool { return false }
|
|
func (errDeadlineExceeded) Timeout() bool { return true }
|