aboutsummaryrefslogtreecommitdiff
path: root/ratelimiter
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2020-12-22 10:08:25 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-07 14:49:44 +0100
commita1c265b0c5bea2c1c4a62acac0045fe93cd691cd (patch)
treea29303936a5013dede0ad65df1f1738bd26e1967 /ratelimiter
parent25b01723ddc8bcd2993eb4b21e4e61164f55fa95 (diff)
downloadwireguard-go-a1c265b0c5bea2c1c4a62acac0045fe93cd691cd.tar.gz
wireguard-go-a1c265b0c5bea2c1c4a62acac0045fe93cd691cd.zip
device: simplify UAPI helper methods
bufio is not required. strings.Builder is cheaper than bytes.Buffer for constructing strings. io.Writer is more flexible than io.StringWriter, and just as cheap (when used with io.WriteString). Run gofmt. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'ratelimiter')
0 files changed, 0 insertions, 0 deletions