mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-25 13:14:25 +00:00
18 lines
262 B
Go
18 lines
262 B
Go
package server
|
|
|
|
import (
|
|
"github.com/yudai/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)
|
|
}
|