MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / MakeShellController

Function MakeShellController

pkg/blockcontroller/shellcontroller.go:71–81  ·  view source on GitHub ↗

Constructor that returns the Controller interface

(tabId string, blockId string, controllerType string, connName string)

Source from the content-addressed store, hash-verified

69
70// Constructor that returns the Controller interface
71func MakeShellController(tabId string, blockId string, controllerType string, connName string) Controller {
72 return &ShellController{
73 Lock: &sync.Mutex{},
74 ControllerType: controllerType,
75 TabId: tabId,
76 BlockId: blockId,
77 ConnName: connName,
78 ProcStatus: Status_Init,
79 RunLock: &atomic.Bool{},
80 }
81}
82
83// Implement Controller interface methods
84

Callers 1

ResyncControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected