func (a *Application) Close() {
	if a.Store != nil {
		a.Store.Close()
	}
	if a.Monitor != nil {
		a.Monitor.Close()
	}
}
Close gracefully shuts down the application
package kage
import (
	"gopkg.in/inconshreveable/log15.v2"
)
type Application struct {
	Store     Store
	Reporters *Reporters
	Monitor   Monitor
	Logger log15.Logger
}
func NewApplication() *Application {
	return &Application{}
}