session save & load from a file. (#38)

This commit is contained in:
Miroslav Šedivý
2023-03-27 18:33:51 +02:00
committed by GitHub
parent fa69ddd984
commit 09508638ce
5 changed files with 122 additions and 0 deletions

View File

@ -17,6 +17,12 @@ type Cursor struct {
Y int `json:"y"`
}
type SessionProfile struct {
Id string
Token string
Profile MemberProfile
}
type SessionState struct {
IsConnected bool `json:"is_connected"`
IsWatching bool `json:"is_watching"`