Use hyperreal64's transmissionrpc

This commit is contained in:
Jeffrey Serio 2023-07-19 11:35:00 -05:00
parent c15debc40a
commit 7ef4dde3b1
4 changed files with 8 additions and 9 deletions

4
go.mod
View File

@ -4,11 +4,11 @@ go 1.20
require (
github.com/hekmon/cunits/v2 v2.1.0
github.com/hekmon/transmissionrpc v1.1.0
github.com/hyperreal64/transmissionrpc v0.0.0-20230719163355-849860742ae7
github.com/olekukonko/tablewriter v0.0.5
)
require (
github.com/hashicorp/go-cleanhttp v0.5.1 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
)

9
go.sum
View File

@ -1,10 +1,9 @@
github.com/hashicorp/go-cleanhttp v0.5.1 h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM=
github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
github.com/hekmon/cunits/v2 v2.0.2/go.mod h1:9r1TycXYXaTmEWlAIfFV8JT+Xo59U96yUJAYHxzii2M=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hekmon/cunits/v2 v2.1.0 h1:k6wIjc4PlacNOHwKEMBgWV2/c8jyD4eRMs5mR1BBhI0=
github.com/hekmon/cunits/v2 v2.1.0/go.mod h1:9r1TycXYXaTmEWlAIfFV8JT+Xo59U96yUJAYHxzii2M=
github.com/hekmon/transmissionrpc v1.1.0 h1:58xY27x2JYxaMlIj7ycKnxqgCm3IjvTxfB7cHPLxOfs=
github.com/hekmon/transmissionrpc v1.1.0/go.mod h1:qkwhsyD/MQSlWvOE1AC92xajwEveAuGsOvTuOBZEuHc=
github.com/hyperreal64/transmissionrpc v0.0.0-20230719163355-849860742ae7 h1:Xug/+TnSU1lhUOxUahNIR3puzX2L7ZlWCGb7Umbj9Ks=
github.com/hyperreal64/transmissionrpc v0.0.0-20230719163355-849860742ae7/go.mod h1:urQVE/SXF2pDxQ5/Sy8xB1t4FjrOwNMHaPWTEAHEStA=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/hekmon/cunits/v2"
"github.com/hekmon/transmissionrpc"
"github.com/hyperreal64/transmissionrpc"
)
func byteCountIEC(b int64) string {

View File

@ -8,7 +8,7 @@ import (
"time"
"github.com/hekmon/cunits/v2"
"github.com/hekmon/transmissionrpc"
"github.com/hyperreal64/transmissionrpc"
"github.com/olekukonko/tablewriter"
)