remove ununsed variables from stun server

This commit is contained in:
Abhishek Kondur 2023-01-18 15:06:06 +05:30
parent 10f724310c
commit 46d995a4d4

View file

@ -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")
)