diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-12 20:10:44 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-02-12 20:13:03 +0100 |
commit | bffe99aeadae09abd02f2bd3184925af6b680535 (patch) | |
tree | 556d223ebcd32b957e62e15353087b93a824641c /device.go | |
parent | 77285c99aa30eb802d0281175990e6809501ec18 (diff) |
Don't use modules
Feel free to revert this if you have a strong feeling about it. But so
far as I can see, it adds a lot of complexity for basically no upsides.
Diffstat (limited to 'device.go')
-rw-r--r-- | device.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,7 +1,6 @@ package main import ( - "git.zx2c4.com/wireguard-go/internal/ratelimiter" "runtime" "sync" "sync/atomic" @@ -51,7 +50,7 @@ type Device struct { rate struct { underLoadUntil atomic.Value - limiter ratelimiter.Ratelimiter + limiter Ratelimiter } pool struct { |