mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
refactor(main): refactoring main grafana server / startup code
This commit is contained in:
10
pkg/models/server.go
Normal file
10
pkg/models/server.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package models
|
||||
|
||||
import "context"
|
||||
|
||||
type GrafanaServer interface {
|
||||
context.Context
|
||||
|
||||
Start()
|
||||
Shutdown(code int, reason string)
|
||||
}
|
||||
Reference in New Issue
Block a user