| 30 | ) |
| 31 | |
| 32 | type DurableShellController struct { |
| 33 | Lock *sync.Mutex |
| 34 | |
| 35 | ControllerType string |
| 36 | TabId string |
| 37 | BlockId string |
| 38 | ConnName string |
| 39 | BlockDef *waveobj.BlockDef |
| 40 | VersionTs utilds.VersionTs |
| 41 | |
| 42 | InputSessionId string // random uuid |
| 43 | inputSeqNum int // monotonic sequence number for inputs, starts at 1 |
| 44 | |
| 45 | JobId string |
| 46 | LastKnownStatus string |
| 47 | } |
| 48 | |
| 49 | func MakeDurableShellController(tabId string, blockId string, controllerType string, connName string) Controller { |
| 50 | return &DurableShellController{ |
nothing calls this directly
no outgoing calls
no test coverage detected