chore: migrate module path from github.com to forge.lthn.ai
Some checks failed
E2E Tests / E2E Tests (push) Failing after 1m23s
Tests / Go Tests (push) Failing after 39s
Desktop Release / Build linux (push) Failing after 46s
Release / Test (push) Failing after 2s
Tests / C++ Tests (push) Failing after 1m12s
Release / Release (push) Has been cancelled
Desktop Release / Build darwin (push) Has been cancelled
Desktop Release / Build windows (push) Has been cancelled
Desktop Release / Create Release (push) Has been cancelled

Move module declaration and all internal imports from
github.com/Snider/Mining to forge.lthn.ai/Snider/Mining. Also updates
Borg, Enchantrix, and Poindexter dependency paths to forge.lthn.ai.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude 2026-02-22 21:35:09 +00:00
parent d651a8dfb4
commit 140f038f37
No known key found for this signature in database
GPG key ID: AF404715446AEB41
36 changed files with 79 additions and 76 deletions

View file

@ -3,12 +3,12 @@ module mining-desktop
go 1.25.0
require (
github.com/Snider/Mining v0.0.0
forge.lthn.ai/Snider/Mining v0.0.0
github.com/shirou/gopsutil/v4 v4.25.10
github.com/wailsapp/wails/v3 v3.0.0-alpha.54
)
replace github.com/Snider/Mining => ../../..
replace forge.lthn.ai/Snider/Mining => ../../..
require (
dario.cat/mergo v1.0.1 // indirect
@ -16,9 +16,9 @@ require (
github.com/Masterminds/semver/v3 v3.3.1 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/Snider/Borg v0.0.2 // indirect
github.com/Snider/Enchantrix v0.0.2 // indirect
github.com/Snider/Poindexter v0.0.0-20251229183216-e182d4f49741 // indirect
forge.lthn.ai/Snider/Borg v0.2.1 // indirect
forge.lthn.ai/Snider/Enchantrix v0.0.4 // indirect
forge.lthn.ai/Snider/Poindexter v0.0.2 // indirect
github.com/adrg/xdg v0.5.3 // indirect
github.com/bep/debounce v1.2.1 // indirect
github.com/bytedance/sonic v1.14.0 // indirect

View file

@ -6,7 +6,7 @@ import (
"runtime"
"strings"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/shirou/gopsutil/v4/cpu"
"github.com/shirou/gopsutil/v4/mem"
)

View file

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/adrg/xdg"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"time"
"github.com/Masterminds/semver/v3"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/spf13/cobra"
)

View file

@ -8,7 +8,7 @@ import (
"syscall"
"time"
"github.com/Snider/Mining/pkg/node"
"forge.lthn.ai/Snider/Mining/pkg/node"
"github.com/spf13/cobra"
)

View file

@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/Snider/Mining/pkg/node"
"forge.lthn.ai/Snider/Mining/pkg/node"
"github.com/spf13/cobra"
)

View file

@ -6,7 +6,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/node"
"forge.lthn.ai/Snider/Mining/pkg/node"
"github.com/spf13/cobra"
)

View file

@ -3,7 +3,7 @@ package cmd
import (
"os"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/spf13/cobra"
)

View file

@ -10,7 +10,7 @@ import (
"strings"
"syscall"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/spf13/cobra"
"golang.org/x/text/cases"
"golang.org/x/text/language"

View file

@ -10,7 +10,7 @@ import (
"syscall"
"time"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/spf13/cobra"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"fmt"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/spf13/cobra"
)

View file

@ -8,7 +8,7 @@ import (
"strings"
"github.com/Masterminds/semver/v3"
"github.com/Snider/Mining/pkg/mining"
"forge.lthn.ai/Snider/Mining/pkg/mining"
"github.com/adrg/xdg"
"github.com/spf13/cobra"
)

View file

@ -4,8 +4,8 @@ import (
"fmt"
"os"
"github.com/Snider/Mining/cmd/mining/cmd"
_ "github.com/Snider/Mining/docs"
"forge.lthn.ai/Snider/Mining/cmd/mining/cmd"
_ "forge.lthn.ai/Snider/Mining/docs"
)
// @title Mining API

23
go.mod
View file

@ -1,11 +1,11 @@
module github.com/Snider/Mining
module forge.lthn.ai/Snider/Mining
go 1.25.0
require (
forge.lthn.ai/Snider/Borg v0.2.1
forge.lthn.ai/Snider/Poindexter v0.0.2
github.com/Masterminds/semver/v3 v3.3.1
github.com/Snider/Borg v0.0.2
github.com/Snider/Poindexter v0.0.0-20251229183216-e182d4f49741
github.com/adrg/xdg v0.5.3
github.com/ckanthony/gin-mcp v0.0.0-20251107113615-3c631c4fa9f4
github.com/gin-contrib/cors v1.7.6
@ -18,13 +18,13 @@ require (
github.com/swaggo/files v1.0.1
github.com/swaggo/gin-swagger v1.6.0
github.com/swaggo/swag v1.16.6
golang.org/x/text v0.31.0
golang.org/x/text v0.34.0
)
require (
forge.lthn.ai/Snider/Enchantrix v0.0.4 // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/ProtonMail/go-crypto v1.3.0 // indirect
github.com/Snider/Enchantrix v0.0.2 // indirect
github.com/bytedance/sonic v1.14.0 // indirect
github.com/bytedance/sonic/loader v0.3.0 // indirect
github.com/cloudflare/circl v1.6.1 // indirect
@ -50,6 +50,7 @@ require (
github.com/goccy/go-yaml v1.18.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.18.2 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/leodido/go-urn v1.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
@ -70,11 +71,11 @@ require (
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/arch v0.20.0 // indirect
golang.org/x/crypto v0.45.0 // indirect
golang.org/x/mod v0.30.0 // indirect
golang.org/x/net v0.47.0 // indirect
golang.org/x/sync v0.18.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/tools v0.38.0 // indirect
golang.org/x/crypto v0.48.0 // indirect
golang.org/x/mod v0.32.0 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.41.0 // indirect
golang.org/x/tools v0.41.0 // indirect
google.golang.org/protobuf v1.36.9 // indirect
)

42
go.sum
View file

@ -1,15 +1,15 @@
forge.lthn.ai/Snider/Borg v0.2.1 h1:tsbbLQukDm4fyTkBDi98cwzoWkcCVXBOl9lhoxNDWJ4=
forge.lthn.ai/Snider/Borg v0.2.1/go.mod h1:HBXXD1ufV6IPWm+kLBZAXUFstsh1q6nfsX/VCe9GvLc=
forge.lthn.ai/Snider/Enchantrix v0.0.4 h1:biwpix/bdedfyc0iVeK15awhhJKH6TEMYOTXzHXx5TI=
forge.lthn.ai/Snider/Enchantrix v0.0.4/go.mod h1:OGCwuVeZPq3OPe2h6TX/ZbgEjHU6B7owpIBeXQGbSe0=
forge.lthn.ai/Snider/Poindexter v0.0.2 h1:XXzSKFjO6MeftQAnB9qR+IkOTp9f57Tg4sIx8Qzi/II=
forge.lthn.ai/Snider/Poindexter v0.0.2/go.mod h1:ddzGia98k3HKkR0gl58IDzqz+MmgW2cQJOCNLfuWPpo=
github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc=
github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE=
github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4=
github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
github.com/ProtonMail/go-crypto v1.3.0 h1:ILq8+Sf5If5DCpHQp4PbZdS1J7HDFRXz/+xKBiRGFrw=
github.com/ProtonMail/go-crypto v1.3.0/go.mod h1:9whxjD8Rbs29b4XWbB8irEcE8KHMqaR2e7GWU1R+/PE=
github.com/Snider/Borg v0.0.2 h1:B/kWoRkcOHu/f772+vCgNWCVT8I1N/yPwLs/2RCGW0E=
github.com/Snider/Borg v0.0.2/go.mod h1:sV4xlUbC3vdWi1eLFnOgd62FcEpg6bRVKrauonvWYNs=
github.com/Snider/Enchantrix v0.0.2 h1:ExZQiBhfS/p/AHFTKhY80TOd+BXZjK95EzByAEgwvjs=
github.com/Snider/Enchantrix v0.0.2/go.mod h1:CtFcLAvnDT1KcuF1JBb/DJj0KplY8jHryO06KzQ1hsQ=
github.com/Snider/Poindexter v0.0.0-20251229183216-e182d4f49741 h1:bWKpK7msUmlhG+ZzekG6VgLt57dCWc0BZQJ8tUR1UKY=
github.com/Snider/Poindexter v0.0.0-20251229183216-e182d4f49741/go.mod h1:nhgkbg4zWA4AS2Ga3RmcvdsyiI9TdxvSqe5EVBSb3Hk=
github.com/adrg/xdg v0.5.3 h1:xRnxJXne7+oWDatRhR1JLnvuccuIeCoBu2rtuLqQB78=
github.com/adrg/xdg v0.5.3/go.mod h1:nlTsY+NNiCBGCK2tpm09vRqfVzrc2fLmXGpBLF0zlTQ=
github.com/bytedance/sonic v1.14.0 h1:/OfKt8HFw0kh2rj8N0F6C/qPGRESq0BbaNZgcNXXzQQ=
@ -88,6 +88,8 @@ github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/klauspost/compress v1.18.2 h1:iiPHWW0YrcFgpBYhsA6D1+fqHssJscY/Tm/y2Uqnapk=
github.com/klauspost/compress v1.18.2/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4=
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
@ -163,21 +165,21 @@ golang.org/x/arch v0.20.0 h1:dx1zTU0MAE98U+TQ8BLl7XsJbgze2WnNKF/8tGp/Q6c=
golang.org/x/arch v0.20.0/go.mod h1:bdwinDaKcfZUGpH09BB7ZmOfhalA8lQdzl62l8gGWsk=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
golang.org/x/crypto v0.48.0 h1:/VRzVqiRSggnhY7gNRxPauEQ5Drw9haKdM0jqfcCFts=
golang.org/x/crypto v0.48.0/go.mod h1:r0kV5h3qnFPlQnBSrULhlsRfryS2pmewsg+XfMgkVos=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.30.0 h1:fDEXFVZ/fmCKProc/yAXXUijritrDzahmwwefnjoPFk=
golang.org/x/mod v0.30.0/go.mod h1:lAsf5O2EvJeSFMiBxXDki7sCgAxEUcZHXoXMKT4GJKc=
golang.org/x/mod v0.32.0 h1:9F4d3PHLljb6x//jOyokMv3eX+YDeepZSEo3mFJy93c=
golang.org/x/mod v0.32.0/go.mod h1:SgipZ/3h2Ci89DlEtEXWUk/HteuRin+HHhN+WbNhguU=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
golang.org/x/net v0.49.0 h1:eeHFmOGUTtaaPSGNmjBKpbng9MulQsJURQUAfUwY++o=
golang.org/x/net v0.49.0/go.mod h1:/ysNB2EvaqvesRkuLAyjI1ycPZlQHM3q01F02UY/MV8=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.18.0 h1:kr88TuHDroi+UVf+0hZnirlk8o8T+4MrK6mr60WkH/I=
golang.org/x/sync v0.18.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sync v0.19.0 h1:vV+1eWNmZ5geRlYjzm2adRgW2/mcpevXNg50YZtPCE4=
golang.org/x/sync v0.19.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@ -189,8 +191,8 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.38.0 h1:3yZWxaJjBmCWXqhN1qh02AkOnCQ1poK6oF+a7xWL6Gc=
golang.org/x/sys v0.38.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=
golang.org/x/sys v0.41.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
@ -198,15 +200,15 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.31.0 h1:aC8ghyu4JhP8VojJ2lEHBnochRno1sgL6nEi9WGFGMM=
golang.org/x/text v0.31.0/go.mod h1:tKRAlv61yKIjGGHX/4tP1LTbc13YSec1pxVEWXzfoeM=
golang.org/x/text v0.34.0 h1:oL/Qq0Kdaqxa1KbNeMKwQq0reLCCaFtqu2eNuSeNHbk=
golang.org/x/text v0.34.0/go.mod h1:homfLqTYRFyVYemLBFl5GgL/DWEiH5wcsQ5gSh1yziA=
golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE=
golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.38.0 h1:Hx2Xv8hISq8Lm16jvBZ2VQf+RLmbd7wVUsALibYI/IQ=
golang.org/x/tools v0.38.0/go.mod h1:yEsQ/d/YK8cjh0L6rZlY8tgtlKiBNTL14pGDJPJpYQs=
golang.org/x/tools v0.41.0 h1:a9b8iMweWG+S0OBnlU36rzLp20z1Rp10w+IY2czHTQc=
golang.org/x/tools v0.41.0/go.mod h1:XSY6eDqxVNiYgezAVqqCeihT4j1U2CCsqvH3WhQpnlg=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
google.golang.org/protobuf v1.36.9 h1:w2gp2mA27hUeUzj9Ex9FBjsBm40zfaDtEWow293U7Iw=

View file

@ -5,7 +5,7 @@ import (
"fmt"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// parseSQLiteTimestamp parses timestamp strings from SQLite which may use various formats.

View file

@ -12,7 +12,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/gin-gonic/gin"
)

View file

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// CircuitState represents the state of a circuit breaker

View file

@ -5,8 +5,8 @@ import (
"fmt"
"sync"
"github.com/Snider/Mining/pkg/database"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/database"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// ContainerConfig holds configuration for the service container.

View file

@ -7,7 +7,7 @@ import (
"testing"
"time"
"github.com/Snider/Mining/pkg/database"
"forge.lthn.ai/Snider/Mining/pkg/database"
)
func setupContainerTestEnv(t *testing.T) func() {

View file

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/gorilla/websocket"
)

View file

@ -9,8 +9,8 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/database"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/database"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// sanitizeInstanceName ensures the instance name only contains safe characters.

View file

@ -20,7 +20,7 @@ import (
"syscall"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/adrg/xdg"
)

View file

@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/Snider/Mining/pkg/node"
"forge.lthn.ai/Snider/Mining/pkg/node"
"github.com/gin-gonic/gin"
)

View file

@ -16,8 +16,8 @@ import (
"time"
"github.com/Masterminds/semver/v3"
"github.com/Snider/Mining/docs"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/docs"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/adrg/xdg"
ginmcp "github.com/ckanthony/gin-mcp"
"github.com/gin-contrib/cors"

View file

@ -5,7 +5,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// TaskFunc is a function that can be supervised.

View file

@ -5,7 +5,7 @@ package mining
import (
"log/syslog"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
var syslogWriter *syslog.Writer

View file

@ -3,7 +3,7 @@
package mining
import (
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// On Windows, syslog is not available. We'll use a dummy implementation

View file

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// Start launches the TT-Miner with the given configuration.

View file

@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// Start launches the XMRig miner with the specified configuration.

View file

@ -12,8 +12,8 @@ import (
"path/filepath"
"strings"
"github.com/Snider/Borg/pkg/datanode"
"github.com/Snider/Borg/pkg/tim"
"forge.lthn.ai/Snider/Borg/pkg/datanode"
"forge.lthn.ai/Snider/Borg/pkg/tim"
)
// BundleType defines the type of deployment bundle.

View file

@ -7,7 +7,7 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
)
// Controller manages remote peer operations from a controller node.

View file

@ -14,7 +14,7 @@ import (
"sync"
"time"
"github.com/Snider/Borg/pkg/stmf"
"forge.lthn.ai/Snider/Borg/pkg/stmf"
"github.com/adrg/xdg"
)

View file

@ -9,8 +9,8 @@ import (
"sync"
"time"
"github.com/Snider/Mining/pkg/logging"
"github.com/Snider/Poindexter"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Poindexter"
"github.com/adrg/xdg"
)

View file

@ -12,8 +12,8 @@ import (
"sync/atomic"
"time"
"github.com/Snider/Borg/pkg/smsg"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Borg/pkg/smsg"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/gorilla/websocket"
)

View file

@ -7,7 +7,7 @@ import (
"path/filepath"
"time"
"github.com/Snider/Mining/pkg/logging"
"forge.lthn.ai/Snider/Mining/pkg/logging"
"github.com/adrg/xdg"
)