shell

package
v0.1.37 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: AGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPTYMgr

func NewPTYMgr() app.ShellPTYMgr

func PTYConnect

func PTYConnect(ctx *app.Context, sender pb.Master_PTYConnectServer) error

func PTYHandler

func PTYHandler(appInstance app.Application) func(*gin.Context)

Types

type PTYMgr

type PTYMgr struct {
	*utils.SyncMap[string, pb.Master_PTYConnectServer] // sessionID
	// contains filtered or unexported fields
}

func (*PTYMgr) Add

func (m *PTYMgr) Add(sessionID string, conn pb.Master_PTYConnectServer)

func (*PTYMgr) IsSessionDone

func (m *PTYMgr) IsSessionDone(sessionID string) bool

func (*PTYMgr) SetSessionDone

func (m *PTYMgr) SetSessionDone(sessionID string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL