Fix lint issues

This commit is contained in:
Zoltan Papp
2024-07-08 21:53:20 +02:00
parent cfac8c4762
commit c3e8187a47
10 changed files with 29 additions and 29 deletions

View File

@ -8,7 +8,6 @@ import (
"encoding/gob"
"fmt"
"strconv"
"sync"
"time"
log "github.com/sirupsen/logrus"
@ -40,7 +39,6 @@ func unmarshalToken(payload []byte) (Token, error) {
// TimedHMAC generates token with TTL and using pre-shared secret known to TURN server
type TimedHMAC struct {
mux sync.Mutex
secret string
timeToLive time.Duration
}