feat: add supervisor prototype with embedded frontend
This commit is contained in:
14
internal/session/pty.go
Normal file
14
internal/session/pty.go
Normal file
@ -0,0 +1,14 @@
|
||||
package session
|
||||
|
||||
import "io"
|
||||
|
||||
type PTYProcess interface {
|
||||
io.ReadWriteCloser
|
||||
Wait() error
|
||||
Resize(cols, rows uint16) error
|
||||
SignalStop() error
|
||||
}
|
||||
|
||||
type PTYFactory interface {
|
||||
Start(command string) (PTYProcess, error)
|
||||
}
|
||||
Reference in New Issue
Block a user