mirror of
https://github.com/gravitl/netmaker.git
synced 2024-09-20 15:26:04 +08:00
remove ununsed variables from stun server
This commit is contained in:
parent
10f724310c
commit
46d995a4d4
|
@ -14,7 +14,6 @@ import (
|
|||
"github.com/gravitl/netmaker/logger"
|
||||
"github.com/gravitl/netmaker/servercfg"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/sirupsen/logrus"
|
||||
"gortc.io/stun"
|
||||
)
|
||||
|
||||
|
@ -28,14 +27,7 @@ type Server struct {
|
|||
Ctx context.Context
|
||||
}
|
||||
|
||||
// Logger is used for logging formatted messages.
|
||||
type Logger interface {
|
||||
// Printf must have the same semantics as log.Printf.
|
||||
Printf(format string, args ...interface{})
|
||||
}
|
||||
|
||||
var (
|
||||
defaultLogger = logrus.New()
|
||||
software = stun.NewSoftware("netmaker-stun")
|
||||
errNotSTUNMessage = errors.New("not stun message")
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue