gotty/server/slave.go
2022-02-26 17:32:04 -05:00

17 lines
263 B
Go

package server
import (
"github.com/ghthor/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)
}