gotty/server/slave.go
jhegge 89a27a859e Update import strings to reference this fork name
Merge in manually the fixes from PR #197, never accepted
Update .gitignore
Update the README with a Changelog for the fork
2018-11-16 18:26:26 -06:00

17 lines
263 B
Go

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