MCPcopy
hub / github.com/1Panel-dev/KubePi / PtyHandler

Interface PtyHandler

pkg/terminal/shell.go:30–34  ·  view source on GitHub ↗

session timeout (minute) PtyHandler is what remotecommand expects from a pty

Source from the content-addressed store, hash-verified

28
29// PtyHandler is what remotecommand expects from a pty
30type PtyHandler interface {
31 io.Reader
32 io.Writer
33 remotecommand.TerminalSizeQueue
34}
35
36// TerminalSession implements PtyHandler (using a SockJS connection)
37type TerminalSession struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected