Add getters for Service and State

This commit is contained in:
Lubos Dolezel
2023-02-28 12:01:25 +01:00
parent 531091dd66
commit 35a269715b

8
app.go
View File

@@ -273,3 +273,11 @@ func (a *App) Start() {
} }
} }
} }
func (a *App) GetService() *Service {
return a.service
}
func (a *App) GetState() *State {
return a.state
}