Skip to content

Commit d61d3c6

Browse files
authored
Merge pull request #5 from LubosD/feature/service-and-state-getters
Add getters for Service and State
2 parents 531091d + 35a2697 commit d61d3c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,3 +273,11 @@ func (a *App) Start() {
273273
}
274274
}
275275
}
276+
277+
func (a *App) GetService() *Service {
278+
return a.service
279+
}
280+
281+
func (a *App) GetState() *State {
282+
return a.state
283+
}

0 commit comments

Comments
 (0)