mirror of
https://github.com/1Panel-dev/KubePi.git
synced 2025-10-05 15:26:58 +08:00
17 lines
401 B
Go
17 lines
401 B
Go
package webtty
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrSlaveClosed indicates the function has exited by the slave
|
|
ErrSlaveClosed = errors.New("slave closed")
|
|
|
|
// ErrSlaveClosed is returned when the slave connection is closed.
|
|
ErrMasterClosed = errors.New("master closed")
|
|
|
|
// ErrConnectionLostPing is returned if no ping within a duration
|
|
ErrConnectionLostPing = errors.New("connection lost ping")
|
|
)
|