mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-14 09:24:25 +00:00
4e017f1618
@yudai built this amazing piece of software, but it now needs a new, active maintainer. I'm taking a stab at it.
18 lines
269 B
Go
18 lines
269 B
Go
package server
|
|
|
|
import (
|
|
"github.com/sorenisanerd/gotty/webtty"
|
|
)
|
|
|
|
// Slave is webtty.Slave with some additional methods.
|
|
type Slave interface {
|
|
webtty.Slave
|
|
|
|
Close() error
|
|
}
|
|
|
|
type Factory interface {
|
|
Name() string
|
|
New(params map[string][]string) (Slave, error)
|
|
}
|