Files
gotty-sorenisanerd/server/slave.go
Anton Makarov 9fe3aec7e8
Some checks failed
Unit and Build Tests / bundle-up-to-date (push) Has been cancelled
Unit and Build Tests / cross-compile-test (push) Has been cancelled
pre-release / Pre Release Docker (push) Has been cancelled
Quick build test / quick-build-test (push) Has been cancelled
Rename github.com/sorenisanerd/gotty to gitea.xs0.ru/forks/gotty
2025-11-19 21:32:45 +03:00

18 lines
293 B
Go

package server
import (
"gitea.xs0.ru/forks/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, headers map[string][]string) (Slave, error)
}