mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Rename full path in order to favor modules
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ package stats
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"mtg/conntypes"
|
||||
)
|
||||
|
||||
type IngressTrafficInterface interface {
|
||||
|
||||
@@ -3,7 +3,7 @@ package stats
|
||||
import (
|
||||
"net"
|
||||
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"mtg/conntypes"
|
||||
)
|
||||
|
||||
type multiStats []Interface
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"net"
|
||||
"net/http"
|
||||
|
||||
"github.com/9seconds/mtg/config"
|
||||
"mtg/config"
|
||||
)
|
||||
|
||||
var Stats Interface
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
|
||||
"github.com/9seconds/mtg/config"
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"mtg/config"
|
||||
"mtg/conntypes"
|
||||
)
|
||||
|
||||
type statsPrometheus struct {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
"gopkg.in/alexcesaro/statsd.v2"
|
||||
|
||||
"github.com/9seconds/mtg/config"
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
"mtg/config"
|
||||
"mtg/conntypes"
|
||||
)
|
||||
|
||||
type statsStatsd struct {
|
||||
|
||||
Reference in New Issue
Block a user