Documentation
¶
Index ¶
Constants ¶
View Source
const Revision = 3
Revision - marks the version of the structure of a session file. Only files with equal revision will be loaded Note: you should increment this whenever you change the Session structure
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct {
Revision int `json:"revision"`
AuthToken string `json:"authToken"`
AuthTime time.Time `json:"authTime"`
Babies []baby.Baby `json:"babies"`
RefreshToken string `json:"refreshToken"`
LastSeenMessageTime time.Time `json:"lastSeenMessageTime"`
}
Session - application session data container
type Store ¶
Store - application session store context
func InitSessionStore ¶
InitSessionStore - Initializes new application session store
Click to show internal directories.
Click to hide internal directories.