2017-02-26 06:37:07 +08:00
|
|
|
package webtty
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
2017-08-24 13:40:28 +08:00
|
|
|
// ErrSlaveClosed indicates the function has exited by the slave
|
|
|
|
ErrSlaveClosed = errors.New("slave closed")
|
|
|
|
|
|
|
|
// ErrSlaveClosed is returned when the slave connection is closed.
|
2017-02-26 06:37:07 +08:00
|
|
|
ErrMasterClosed = errors.New("master closed")
|
|
|
|
)
|