Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
52566376
Commit
52566376
authored
Feb 06, 2017
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tech(server): remove unused code
parent
a32b7dfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
pkg/cmd/grafana-server/server.go
+0
-14
pkg/models/server.go
+0
-4
No files found.
pkg/cmd/grafana-server/server.go
View file @
52566376
...
...
@@ -95,17 +95,3 @@ func (g *GrafanaServerImpl) Shutdown(code int, reason string) {
log
.
Close
()
os
.
Exit
(
code
)
}
// implement context.Context
func
(
g
*
GrafanaServerImpl
)
Deadline
()
(
deadline
time
.
Time
,
ok
bool
)
{
return
g
.
context
.
Deadline
()
}
func
(
g
*
GrafanaServerImpl
)
Done
()
<-
chan
struct
{}
{
return
g
.
context
.
Done
()
}
func
(
g
*
GrafanaServerImpl
)
Err
()
error
{
return
g
.
context
.
Err
()
}
func
(
g
*
GrafanaServerImpl
)
Value
(
key
interface
{})
interface
{}
{
return
g
.
context
.
Value
(
key
)
}
pkg/models/server.go
View file @
52566376
package
models
import
"context"
type
GrafanaServer
interface
{
context
.
Context
Start
()
Shutdown
(
code
int
,
reason
string
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment