Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"io"
"net"
"net/url"
"time"

Check failure on line 11 in src/core/core.go

View workflow job for this annotation

GitHub Actions / Lint

"time" imported and not used (typecheck)

Check failure on line 11 in src/core/core.go

View workflow job for this annotation

GitHub Actions / Lint

"time" imported and not used) (typecheck)

Check failure on line 11 in src/core/core.go

View workflow job for this annotation

GitHub Actions / Lint

"time" imported and not used) (typecheck)

Check failure on line 11 in src/core/core.go

View workflow job for this annotation

GitHub Actions / Lint

"time" imported and not used) (typecheck)

iwe "github.com/Arceliar/ironwood/encrypted"
iwn "github.com/Arceliar/ironwood/network"
Expand All @@ -35,7 +35,6 @@
links links
proto protoHandler
log Logger
addPeerTimer *time.Timer
config struct {
tls *tls.Config // immutable after startup
//_peers map[Peer]*linkInfo // configurable after startup
Expand Down Expand Up @@ -160,10 +159,6 @@
c.cancel()
c.links.shutdown()
err := c.PacketConn.Close()
if c.addPeerTimer != nil {
c.addPeerTimer.Stop()
c.addPeerTimer = nil
}
return err
}

Expand Down
Loading