16 lines
337 B
Go
16 lines
337 B
Go
|
// Copyright 2020 lesismal. All rights reserved.
|
||
|
// Use of this source code is governed by an MIT-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
package nbio
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
errClosed = errors.New("conn closed")
|
||
|
errReadTimeout = errors.New("read timeout")
|
||
|
errWriteTimeout = errors.New("write timeout")
|
||
|
)
|