Some checks failed
Build & Sign Wraith / Build Windows + Sign (push) Has been cancelled
Go + Wails v3 + Vue 3 + SQLite + FreeRDP3 (purego) 183 tests, 76 source files, 9,910 lines of code Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
600 B
Go
23 lines
600 B
Go
package session
|
|
|
|
import "time"
|
|
|
|
type SessionState string
|
|
|
|
const (
|
|
StateConnecting SessionState = "connecting"
|
|
StateConnected SessionState = "connected"
|
|
StateDisconnected SessionState = "disconnected"
|
|
StateDetached SessionState = "detached"
|
|
)
|
|
|
|
type SessionInfo struct {
|
|
ID string `json:"id"`
|
|
ConnectionID int64 `json:"connectionId"`
|
|
Protocol string `json:"protocol"`
|
|
State SessionState `json:"state"`
|
|
WindowID string `json:"windowId"`
|
|
TabPosition int `json:"tabPosition"`
|
|
ConnectedAt time.Time `json:"connectedAt"`
|
|
}
|