diff --git a/autonats/logger_adapter.go b/autonats/logger_adapter.go index d9cc7ff..e1b948a 100644 --- a/autonats/logger_adapter.go +++ b/autonats/logger_adapter.go @@ -1,6 +1,6 @@ package autonats -import "github.com/pme-sh/pmesh/xlog" +import "get.pme.sh/pmesh/xlog" type Logger struct { *xlog.Logger diff --git a/autonats/options.go b/autonats/options.go index 63fcbf4..f763f8c 100644 --- a/autonats/options.go +++ b/autonats/options.go @@ -8,11 +8,11 @@ import ( "strconv" "strings" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/security" - "github.com/pme-sh/pmesh/tlsmux" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/security" + "get.pme.sh/pmesh/tlsmux" + "get.pme.sh/pmesh/xlog" "github.com/nats-io/nats.go" "github.com/samber/lo" diff --git a/autonats/server.go b/autonats/server.go index b51ae9e..b6fa1e1 100644 --- a/autonats/server.go +++ b/autonats/server.go @@ -13,9 +13,9 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/tlsmux" + "get.pme.sh/pmesh/tlsmux" - natssrv "github.com/nats-io/nats-server/v2/server" + natssrv "get.pme.sh/pnats/server" "github.com/nats-io/nats.go" "github.com/nats-io/nats.go/jetstream" "github.com/samber/lo" diff --git a/autonats/topology.go b/autonats/topology.go index 120a97a..00c3488 100644 --- a/autonats/topology.go +++ b/autonats/topology.go @@ -5,7 +5,7 @@ import ( "encoding/json" "time" - natssrv "github.com/nats-io/nats-server/v2/server" + natssrv "get.pme.sh/pnats/server" "github.com/nats-io/nats.go" ) diff --git a/client/api_control.go b/client/api_control.go index 007c5b1..f75d943 100644 --- a/client/api_control.go +++ b/client/api_control.go @@ -1,8 +1,8 @@ package client import ( - "github.com/pme-sh/pmesh/session" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/session" + "get.pme.sh/pmesh/xpost" "github.com/nats-io/nats.go/jetstream" ) diff --git a/client/api_ipinfo.go b/client/api_ipinfo.go index ddac546..a0f4bf4 100644 --- a/client/api_ipinfo.go +++ b/client/api_ipinfo.go @@ -1,6 +1,6 @@ package client -import "github.com/pme-sh/pmesh/session" +import "get.pme.sh/pmesh/session" func (c Client) QueryIP(ip string) (info session.IPInfoResult, err error) { err = c.Call("/ipinfo", session.IPInfoQuery{IP: ip}, &info) diff --git a/client/api_kv.go b/client/api_kv.go index f7e99b6..d37a6a3 100644 --- a/client/api_kv.go +++ b/client/api_kv.go @@ -3,7 +3,7 @@ package client import ( "encoding/json" - "github.com/pme-sh/pmesh/session" + "get.pme.sh/pmesh/session" ) func (c Client) KV(key string) (res session.KVState, err error) { diff --git a/client/api_lambda.go b/client/api_lambda.go index 642fa00..cbef182 100644 --- a/client/api_lambda.go +++ b/client/api_lambda.go @@ -1,7 +1,7 @@ package client import ( - "github.com/pme-sh/pmesh/session" + "get.pme.sh/pmesh/session" ) func (c Client) Lambdas() (res map[string]session.Lambda, err error) { diff --git a/client/api_log.go b/client/api_log.go index 3610338..ecbd583 100644 --- a/client/api_log.go +++ b/client/api_log.go @@ -12,10 +12,10 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/pmtp" - "github.com/pme-sh/pmesh/ray" - "github.com/pme-sh/pmesh/xlog" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/pmtp" + "get.pme.sh/pmesh/ray" + "get.pme.sh/pmesh/xlog" + "get.pme.sh/pmesh/xpost" "github.com/samber/lo" ) diff --git a/client/api_metrics.go b/client/api_metrics.go index bde68da..9958c22 100644 --- a/client/api_metrics.go +++ b/client/api_metrics.go @@ -1,6 +1,6 @@ package client -import "github.com/pme-sh/pmesh/session" +import "get.pme.sh/pmesh/session" func (c Client) SystemMetrics() (m session.SystemMetrics, err error) { err = c.Call("/system", nil, &m) diff --git a/client/api_rev.go b/client/api_rev.go index ba65cc7..69cae9b 100644 --- a/client/api_rev.go +++ b/client/api_rev.go @@ -1,7 +1,7 @@ package client import ( - "github.com/pme-sh/pmesh/session" + "get.pme.sh/pmesh/session" ) func (c Client) GetRepoInfo() (info session.RepoInfo, err error) { diff --git a/client/api_service.go b/client/api_service.go index b6fcea5..45eccd3 100644 --- a/client/api_service.go +++ b/client/api_service.go @@ -1,8 +1,8 @@ package client import ( - "github.com/pme-sh/pmesh/session" - "github.com/pme-sh/pmesh/snowflake" + "get.pme.sh/pmesh/session" + "get.pme.sh/pmesh/snowflake" ) func (c Client) ServiceHealth(name string) (h session.ServiceHealth, err error) { diff --git a/client/api_sign.go b/client/api_sign.go index e04176c..0fc05a5 100644 --- a/client/api_sign.go +++ b/client/api_sign.go @@ -1,6 +1,6 @@ package client -import "github.com/pme-sh/pmesh/urlsigner" +import "get.pme.sh/pmesh/urlsigner" func (c Client) SignURL(p urlsigner.Options) (res string, err error) { err = c.Call("/sign", p, &res) diff --git a/client/client.go b/client/client.go index dc1af7b..bc9aa22 100644 --- a/client/client.go +++ b/client/client.go @@ -1,7 +1,7 @@ package client import ( - "github.com/pme-sh/pmesh/pmtp" + "get.pme.sh/pmesh/pmtp" ) type Client struct { diff --git a/cmd/api_log.go b/cmd/api_log.go index f2938de..d00d864 100644 --- a/cmd/api_log.go +++ b/cmd/api_log.go @@ -7,9 +7,9 @@ import ( "os" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/rundown" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/rundown" + "get.pme.sh/pmesh/xlog" "github.com/spf13/cobra" "github.com/spf13/pflag" diff --git a/cmd/api_service.go b/cmd/api_service.go index 5bc803f..4e496ff 100644 --- a/cmd/api_service.go +++ b/cmd/api_service.go @@ -3,8 +3,8 @@ package cmd import ( "fmt" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/ui" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/ui" "github.com/spf13/cobra" ) diff --git a/cmd/config.go b/cmd/config.go index 74358bb..b0c70fc 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -5,7 +5,7 @@ import ( "log" "strings" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" "github.com/samber/lo" "github.com/spf13/cobra" diff --git a/cmd/root.go b/cmd/root.go index 0005484..d8fd083 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -5,9 +5,9 @@ import ( "log" "os" - "github.com/pme-sh/pmesh/client" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/pmtp" + "get.pme.sh/pmesh/client" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/pmtp" "github.com/spf13/cobra" ) diff --git a/cmd/setup.go b/cmd/setup.go index 1051189..d1245d6 100644 --- a/cmd/setup.go +++ b/cmd/setup.go @@ -4,9 +4,9 @@ import ( "fmt" "strings" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/setuputil" - "github.com/pme-sh/pmesh/ui" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/setuputil" + "get.pme.sh/pmesh/ui" "github.com/samber/lo" "github.com/spf13/cobra" diff --git a/cmd/start.go b/cmd/start.go index 49dd92c..7f89075 100644 --- a/cmd/start.go +++ b/cmd/start.go @@ -5,11 +5,11 @@ import ( "path/filepath" "strings" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/lyml" - "github.com/pme-sh/pmesh/service" - "github.com/pme-sh/pmesh/session" - "github.com/pme-sh/pmesh/setuputil" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/lyml" + "get.pme.sh/pmesh/service" + "get.pme.sh/pmesh/session" + "get.pme.sh/pmesh/setuputil" "github.com/alecthomas/chroma/v2/quick" "github.com/spf13/cobra" diff --git a/cpuhist/cpu.go b/cpuhist/cpu.go index 74ff4d5..05f174c 100644 --- a/cpuhist/cpu.go +++ b/cpuhist/cpu.go @@ -6,7 +6,7 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/concurrent" + "get.pme.sh/pmesh/concurrent" "github.com/shirou/gopsutil/v3/cpu" "github.com/shirou/gopsutil/v3/host" diff --git a/enats/gateway.go b/enats/gateway.go index 6018600..590c7c3 100644 --- a/enats/gateway.go +++ b/enats/gateway.go @@ -7,8 +7,8 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/autonats" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/autonats" + "get.pme.sh/pmesh/config" "github.com/nats-io/nats.go" "github.com/nats-io/nats.go/jetstream" diff --git a/enats/topics.go b/enats/topics.go index 8a36080..d092149 100644 --- a/enats/topics.go +++ b/enats/topics.go @@ -4,8 +4,8 @@ import ( "strconv" "strings" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/xlog" ) var AnyCastMachineID = config.MachineID(0) diff --git a/glob/glob.go b/glob/glob.go index 63e2a18..a8b5e94 100644 --- a/glob/glob.go +++ b/glob/glob.go @@ -4,7 +4,7 @@ import ( "context" "regexp" - "github.com/pme-sh/pmesh/glob/gocodewalker" + "get.pme.sh/pmesh/glob/gocodewalker" ) type File = gocodewalker.File diff --git a/go.mod b/go.mod index 2e446e0..0f8de2f 100644 --- a/go.mod +++ b/go.mod @@ -1,87 +1,85 @@ -module github.com/pme-sh/pmesh +module get.pme.sh/pmesh go 1.22 require ( + get.pme.sh/pnats v0.0.0-20240304004023-26bb5a137ed0 + github.com/alecthomas/chroma/v2 v2.12.0 github.com/andybalholm/brotli v1.1.0 github.com/boyter/gocodewalker v1.2.0 github.com/charmbracelet/bubbles v0.18.0 + github.com/charmbracelet/bubbletea v0.25.0 github.com/charmbracelet/lipgloss v0.9.1 + github.com/erikgeiser/promptkit v0.9.0 github.com/go-git/go-git/v5 v5.11.0 github.com/gofrs/flock v0.8.1 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 github.com/gorilla/schema v1.2.1 github.com/gorilla/websocket v1.5.1 github.com/hashicorp/yamux v0.1.1 + github.com/icza/backscanner v0.0.0-20240221180818-f23e3ba0e79f github.com/muesli/reflow v0.3.0 github.com/natefinch/atomic v1.0.1 - github.com/nats-io/nats-server/v2 v2.10.11 github.com/nats-io/nats.go v1.33.1 github.com/nsf/jsondiff v0.0.0-20230430225905-43f6cf3098c1 github.com/pkg/errors v0.9.1 + github.com/rs/zerolog v1.32.0 github.com/samber/lo v1.39.0 github.com/samber/slog-zerolog/v2 v2.2.0 github.com/shirou/gopsutil/v3 v3.24.1 github.com/spf13/cobra v1.8.0 + github.com/spf13/pflag v1.0.5 github.com/valyala/fastjson v1.6.4 github.com/yuin/gopher-lua v1.1.1 go.uber.org/automaxprocs v1.5.3 golang.org/x/net v0.21.0 golang.org/x/sync v0.6.0 golang.org/x/term v0.17.0 + gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/yaml.v3 v3.0.1 ) -require ( - github.com/atotto/clipboard v0.1.4 // indirect - github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect - github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect - github.com/dlclark/regexp2 v1.10.0 // indirect - github.com/lucasb-eyer/go-colorful v1.2.0 // indirect - github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect - github.com/mattn/go-localereader v0.0.1 // indirect - github.com/mattn/go-runewidth v0.0.15 // indirect - github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect - github.com/muesli/cancelreader v0.2.2 // indirect - github.com/muesli/termenv v0.15.2 // indirect - github.com/rivo/uniseg v0.4.6 // indirect - github.com/sahilm/fuzzy v0.1.1-0.20230530133925-c48e322e2a8f // indirect - github.com/samber/slog-common v0.14.0 // indirect -) - require ( dario.cat/mergo v1.0.0 // indirect github.com/Microsoft/go-winio v0.6.1 // indirect github.com/ProtonMail/go-crypto v1.0.0 // indirect - github.com/alecthomas/chroma/v2 v2.12.0 - github.com/charmbracelet/bubbletea v0.25.0 + github.com/atotto/clipboard v0.1.4 // indirect + github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect github.com/cloudflare/circl v1.3.7 // indirect + github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect github.com/cyphar/filepath-securejoin v0.2.4 // indirect github.com/danwakefield/fnmatch v0.0.0-20160403171240-cbb64ac3d964 // indirect + github.com/dlclark/regexp2 v1.10.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect - github.com/erikgeiser/promptkit v0.9.0 github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect github.com/go-ole/go-ole v1.3.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/icza/backscanner v0.0.0-20240221180818-f23e3ba0e79f github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect github.com/klauspost/compress v1.17.7 // indirect + github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect + github.com/mattn/go-colorable v0.1.13 // indirect + github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-localereader v0.0.1 // indirect + github.com/mattn/go-runewidth v0.0.15 // indirect github.com/minio/highwayhash v1.0.2 // indirect + github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect + github.com/muesli/cancelreader v0.2.2 // indirect + github.com/muesli/termenv v0.15.2 // indirect github.com/nats-io/jwt/v2 v2.5.5 // indirect github.com/nats-io/nkeys v0.4.7 // indirect github.com/nats-io/nuid v1.0.1 // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect - github.com/rs/zerolog v1.32.0 + github.com/rivo/uniseg v0.4.6 // indirect + github.com/sahilm/fuzzy v0.1.1-0.20230530133925-c48e322e2a8f // indirect + github.com/samber/slog-common v0.14.0 // indirect github.com/sergi/go-diff v1.3.1 // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/skeema/knownhosts v1.2.1 // indirect - github.com/spf13/pflag v1.0.5 github.com/tklauser/go-sysconf v0.3.13 // indirect github.com/tklauser/numcpus v0.7.0 // indirect github.com/xanzy/ssh-agent v0.3.3 // indirect @@ -93,10 +91,7 @@ require ( golang.org/x/text v0.14.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.18.0 // indirect - gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/warnings.v0 v0.1.2 // indirect ) -replace github.com/muesli/reflow v0.3.0 => github.com/mikelorant/reflow v0.0.0-20240129221507-7edce3ea0d5b - -replace github.com/nats-io/nats-server/v2 v2.10.11 => github.com/pme-sh/nats-server/v2 v2.0.0-20240303190446-71281f459505 +//replace github.com/muesli/reflow v0.3.0 => github.com/mikelorant/reflow v0.0.0-20240129221507-7edce3ea0d5b diff --git a/go.sum b/go.sum index d6cab28..c51f7b3 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,7 @@ dario.cat/mergo v1.0.0 h1:AGCNq9Evsj31mOgNPcLyXc+4PNABt905YmuqPYYpBWk= dario.cat/mergo v1.0.0/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +get.pme.sh/pnats v0.0.0-20240304004023-26bb5a137ed0 h1:/qb6VA8rsok86b53XoJO32XXcveYT7LQT9UZdaldZjQ= +get.pme.sh/pnats v0.0.0-20240304004023-26bb5a137ed0/go.mod h1:+1J/aWqfkjJxH9xHOqsuuCzxC09angjeJ+Us/alhoTI= github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= @@ -117,16 +119,17 @@ github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APP github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4= github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88= +github.com/mattn/go-runewidth v0.0.12/go.mod h1:RAqKPSqVFrSLVXbA8x7dzmKdmGzieGRCM46jaSJTDAk= github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= -github.com/mikelorant/reflow v0.0.0-20240129221507-7edce3ea0d5b h1:0daZ0gc3jkCDiTgAFEf73YmOjXWuaU2vQaMTTS3vhjg= -github.com/mikelorant/reflow v0.0.0-20240129221507-7edce3ea0d5b/go.mod h1:OpGecHxg1YTnFIDjvHm/t+KGjBEnWkD5JHefBS/lrcU= github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g= github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY= github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI= github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo= github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA= github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= +github.com/muesli/reflow v0.3.0 h1:IFsN6K9NfGtjeggFP+68I4chLZV2yIKsXJFNZ+eWh6s= +github.com/muesli/reflow v0.3.0/go.mod h1:pbwTDkVPibjO2kyvBQRBxTWEEGDGq0FlB1BIKtnHY/8= github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= github.com/natefinch/atomic v1.0.1 h1:ZPYKxkqQOx3KZ+RsbnP/YsgvxWQPGxjC0oBt2AhwV0A= @@ -147,8 +150,6 @@ github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pme-sh/nats-server/v2 v2.0.0-20240303190446-71281f459505 h1:tlJDZuj/eCTGQpoHJeM1u8u4Vpxd5q+o2kmrURVrnY0= -github.com/pme-sh/nats-server/v2 v2.0.0-20240303190446-71281f459505/go.mod h1:J0sPAPoyG5tzqLha88PgAnG4dib7rxHVT/Fka8H6JBQ= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= @@ -156,6 +157,7 @@ github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/prashantv/gostub v1.1.0 h1:BTyx3RfQjRHnUWaGF9oQos79AlQ5k8WNktv7VGvVH4g= github.com/prashantv/gostub v1.1.0/go.mod h1:A5zLQHz7ieHGG7is6LLXLz7I8+3LZzsrV0P1IAHhP5U= +github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.6 h1:Sovz9sDSwbOz9tgUy8JpT+KgCkPYJEN/oYzlJiYTNLg= github.com/rivo/uniseg v0.4.6/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= diff --git a/health/check.go b/health/check.go index 9ab08f8..b7fdd7b 100644 --- a/health/check.go +++ b/health/check.go @@ -3,7 +3,7 @@ package health import ( "context" - "github.com/pme-sh/pmesh/variant" + "get.pme.sh/pmesh/variant" "gopkg.in/yaml.v3" ) diff --git a/health/check_http.go b/health/check_http.go index 0673e7c..74a4da8 100644 --- a/health/check_http.go +++ b/health/check_http.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/netx" + "get.pme.sh/pmesh/netx" ) type HttpCheck struct { diff --git a/health/check_tcp.go b/health/check_tcp.go index d07aa03..dc8f27f 100644 --- a/health/check_tcp.go +++ b/health/check_tcp.go @@ -5,7 +5,7 @@ import ( "errors" "time" - "github.com/pme-sh/pmesh/netx" + "get.pme.sh/pmesh/netx" ) type TcpCheck struct{} diff --git a/health/monitor.go b/health/monitor.go index a89ffdc..3e3328e 100644 --- a/health/monitor.go +++ b/health/monitor.go @@ -5,8 +5,8 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/xlog" ) type MonitorLoop struct { diff --git a/lb/lb.go b/lb/lb.go index 52f7ae0..4f21021 100644 --- a/lb/lb.go +++ b/lb/lb.go @@ -8,9 +8,9 @@ import ( "sync" "sync/atomic" - "github.com/pme-sh/pmesh/retry" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/retry" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "github.com/samber/lo" ) diff --git a/lb/options.go b/lb/options.go index 86bfbb9..a82ef7c 100644 --- a/lb/options.go +++ b/lb/options.go @@ -1,10 +1,10 @@ package lb import ( - "github.com/pme-sh/pmesh/rate" - "github.com/pme-sh/pmesh/retry" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/vhttp" + "get.pme.sh/pmesh/rate" + "get.pme.sh/pmesh/retry" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/vhttp" ) type Strategy uint8 diff --git a/lb/upstream.go b/lb/upstream.go index 97aa4cb..184b92f 100644 --- a/lb/upstream.go +++ b/lb/upstream.go @@ -10,8 +10,8 @@ import ( "sync/atomic" "unsafe" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/util" ) type Upstream struct { diff --git a/lyml/nodes.go b/lyml/nodes.go index 94ad1bd..60a9071 100644 --- a/lyml/nodes.go +++ b/lyml/nodes.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - "github.com/pme-sh/pmesh/luae" + "get.pme.sh/pmesh/luae" "github.com/samber/lo" lua "github.com/yuin/gopher-lua" diff --git a/lyml/text.go b/lyml/text.go index 77ccdbe..8265b07 100644 --- a/lyml/text.go +++ b/lyml/text.go @@ -3,7 +3,7 @@ package lyml import ( "strings" - "github.com/pme-sh/pmesh/luae" + "get.pme.sh/pmesh/luae" lua "github.com/yuin/gopher-lua" ) diff --git a/lyml/vars.go b/lyml/vars.go index 92b8acd..5bbd7dd 100644 --- a/lyml/vars.go +++ b/lyml/vars.go @@ -11,10 +11,10 @@ import ( "runtime" "sync" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/cpuhist" - "github.com/pme-sh/pmesh/luae" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/cpuhist" + "get.pme.sh/pmesh/luae" + "get.pme.sh/pmesh/util" "github.com/samber/lo" lua "github.com/yuin/gopher-lua" diff --git a/main.go b/main.go index ff2f904..72ce9e4 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "runtime" - "github.com/pme-sh/pmesh/cmd" + "get.pme.sh/pmesh/cmd" "go.uber.org/automaxprocs/maxprocs" ) diff --git a/netx/ip.go b/netx/ip.go index 3264fbe..916225b 100644 --- a/netx/ip.go +++ b/netx/ip.go @@ -9,7 +9,7 @@ import ( "net/netip" "strconv" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" ) // Well-known addresses diff --git a/netx/local_dialer.go b/netx/local_dialer.go index d8367d0..4284f8a 100644 --- a/netx/local_dialer.go +++ b/netx/local_dialer.go @@ -10,9 +10,9 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/subnet" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/subnet" + "get.pme.sh/pmesh/xlog" "golang.org/x/net/http2" ) diff --git a/netx/prov_cloudflare.go b/netx/prov_cloudflare.go index fec7924..a6bfee7 100644 --- a/netx/prov_cloudflare.go +++ b/netx/prov_cloudflare.go @@ -5,7 +5,7 @@ import ( "context" "io" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" ) const ( diff --git a/netx/prov_ip2asn.go b/netx/prov_ip2asn.go index fce604c..b2045be 100644 --- a/netx/prov_ip2asn.go +++ b/netx/prov_ip2asn.go @@ -8,7 +8,7 @@ import ( "io" "time" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" ) const ( diff --git a/netx/prov_maxmind.go b/netx/prov_maxmind.go index 8084f60..2e14002 100644 --- a/netx/prov_maxmind.go +++ b/netx/prov_maxmind.go @@ -8,8 +8,8 @@ import ( "io" "path" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/xlog" ) const ( diff --git a/netx/pub_ip.go b/netx/pub_ip.go index fd14652..9c2d2ef 100644 --- a/netx/pub_ip.go +++ b/netx/pub_ip.go @@ -9,7 +9,7 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" "github.com/samber/lo" ) diff --git a/netx/remote_file.go b/netx/remote_file.go index a7e3a8c..41402c4 100644 --- a/netx/remote_file.go +++ b/netx/remote_file.go @@ -12,7 +12,7 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/xlog" atomicfile "github.com/natefinch/atomic" ) diff --git a/netx/xsv.go b/netx/xsv.go index 839f7ce..5b1e0c2 100644 --- a/netx/xsv.go +++ b/netx/xsv.go @@ -9,7 +9,7 @@ import ( "reflect" "strconv" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" "github.com/samber/lo" ) diff --git a/pmtp/conn.go b/pmtp/conn.go index f5c6b8d..e3dd617 100644 --- a/pmtp/conn.go +++ b/pmtp/conn.go @@ -12,9 +12,9 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/lru" - "github.com/pme-sh/pmesh/security" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/lru" + "get.pme.sh/pmesh/security" "github.com/gorilla/websocket" ) diff --git a/pmtp/std_code.go b/pmtp/std_code.go index 71b6fa9..89f3eab 100644 --- a/pmtp/std_code.go +++ b/pmtp/std_code.go @@ -10,7 +10,7 @@ import ( "sync" "sync/atomic" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/xlog" "github.com/gorilla/websocket" ) diff --git a/pmtp/upgrade.go b/pmtp/upgrade.go index 8144b99..0c77427 100644 --- a/pmtp/upgrade.go +++ b/pmtp/upgrade.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "github.com/gorilla/websocket" ) diff --git a/rate/limit.go b/rate/limit.go index eb7f698..a92771a 100644 --- a/rate/limit.go +++ b/rate/limit.go @@ -10,7 +10,7 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" "gopkg.in/yaml.v3" ) diff --git a/ray/host.go b/ray/host.go index 6b8b23d..ab20e5e 100644 --- a/ray/host.go +++ b/ray/host.go @@ -3,7 +3,7 @@ package ray import ( "fmt" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" ) type Host [3]byte diff --git a/ray/id.go b/ray/id.go index 88f72cd..b54a56c 100644 --- a/ray/id.go +++ b/ray/id.go @@ -6,8 +6,8 @@ import ( "errors" "time" - "github.com/pme-sh/pmesh/snowflake" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/snowflake" + "get.pme.sh/pmesh/util" ) type ID struct { diff --git a/retry/policy.go b/retry/policy.go index 6e0ddfa..3764d36 100644 --- a/retry/policy.go +++ b/retry/policy.go @@ -3,7 +3,7 @@ package retry import ( "time" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" ) type Policy struct { diff --git a/security/cert_cache.go b/security/cert_cache.go index d431e41..4f48b0b 100644 --- a/security/cert_cache.go +++ b/security/cert_cache.go @@ -7,9 +7,9 @@ import ( "strings" "sync" - "github.com/pme-sh/pmesh/concurrent" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/concurrent" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/xlog" ) var certCache = concurrent.Map[string, *Certificate]{} diff --git a/security/client_auth.go b/security/client_auth.go index 9024f5a..00a8802 100644 --- a/security/client_auth.go +++ b/security/client_auth.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/xlog" "github.com/samber/lo" ) diff --git a/service/build_files.go b/service/build_files.go index f70d4dc..4d0f666 100644 --- a/service/build_files.go +++ b/service/build_files.go @@ -8,8 +8,8 @@ import ( "path/filepath" "strings" - "github.com/pme-sh/pmesh/glob" - "github.com/pme-sh/pmesh/snowflake" + "get.pme.sh/pmesh/glob" + "get.pme.sh/pmesh/snowflake" ) const ( diff --git a/service/command.go b/service/command.go index 3666366..bea6304 100644 --- a/service/command.go +++ b/service/command.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" "github.com/google/shlex" "github.com/samber/lo" diff --git a/service/glue.go b/service/glue.go index 0cf9939..14aa251 100644 --- a/service/glue.go +++ b/service/glue.go @@ -8,7 +8,7 @@ import ( "strings" "sync" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" "github.com/samber/lo" "github.com/shirou/gopsutil/v3/process" diff --git a/service/net.go b/service/net.go index 241189e..19c6883 100644 --- a/service/net.go +++ b/service/net.go @@ -3,8 +3,8 @@ package service import ( "sync" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/subnet" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/subnet" ) var SubnetAllocator = sync.OnceValue(func() *subnet.Allocator { diff --git a/service/process.go b/service/process.go index 1daedbc..6392247 100644 --- a/service/process.go +++ b/service/process.go @@ -4,7 +4,7 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/cpuhist" + "get.pme.sh/pmesh/cpuhist" "github.com/google/shlex" "github.com/shirou/gopsutil/v3/process" diff --git a/service/svc.go b/service/svc.go index d3c6894..5b437b6 100644 --- a/service/svc.go +++ b/service/svc.go @@ -3,10 +3,10 @@ package service import ( "context" - "github.com/pme-sh/pmesh/lb" - "github.com/pme-sh/pmesh/variant" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/lb" + "get.pme.sh/pmesh/variant" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "gopkg.in/yaml.v3" ) diff --git a/service/svc_app.go b/service/svc_app.go index 513d132..cffe25e 100644 --- a/service/svc_app.go +++ b/service/svc_app.go @@ -15,16 +15,16 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/cpuhist" - "github.com/pme-sh/pmesh/glob" - "github.com/pme-sh/pmesh/health" - "github.com/pme-sh/pmesh/lb" - "github.com/pme-sh/pmesh/retry" - "github.com/pme-sh/pmesh/security" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/cpuhist" + "get.pme.sh/pmesh/glob" + "get.pme.sh/pmesh/health" + "get.pme.sh/pmesh/lb" + "get.pme.sh/pmesh/retry" + "get.pme.sh/pmesh/security" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "github.com/samber/lo" "github.com/shirou/gopsutil/v3/process" diff --git a/service/svc_file.go b/service/svc_file.go index 4a62768..fe9d816 100644 --- a/service/svc_file.go +++ b/service/svc_file.go @@ -15,7 +15,7 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/vhttp" + "get.pme.sh/pmesh/vhttp" "github.com/andybalholm/brotli" ) diff --git a/service/svc_proxy.go b/service/svc_proxy.go index bb3f504..d1cc4f8 100644 --- a/service/svc_proxy.go +++ b/service/svc_proxy.go @@ -6,11 +6,11 @@ import ( "net/http" "strings" - "github.com/pme-sh/pmesh/health" - "github.com/pme-sh/pmesh/lb" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/health" + "get.pme.sh/pmesh/lb" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" ) type ProxyService struct { diff --git a/service/svc_wrappers.go b/service/svc_wrappers.go index 3d2b262..cf4b15a 100644 --- a/service/svc_wrappers.go +++ b/service/svc_wrappers.go @@ -8,8 +8,8 @@ import ( "runtime" "time" - "github.com/pme-sh/pmesh/npm" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/npm" + "get.pme.sh/pmesh/util" ) type JsApp struct { diff --git a/session/api.go b/session/api.go index ebf04d9..bd862c4 100644 --- a/session/api.go +++ b/session/api.go @@ -10,12 +10,12 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "encoding/json" - "github.com/pme-sh/pmesh/pmtp" + "get.pme.sh/pmesh/pmtp" "github.com/gorilla/schema" ) diff --git a/session/api_control.go b/session/api_control.go index af9a49a..b0a855f 100644 --- a/session/api_control.go +++ b/session/api_control.go @@ -8,9 +8,9 @@ import ( "net/http" "strings" - "github.com/pme-sh/pmesh/enats" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/enats" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xpost" "github.com/nats-io/nats.go/jetstream" ) diff --git a/session/api_debug.go b/session/api_debug.go index f497c18..88abf59 100644 --- a/session/api_debug.go +++ b/session/api_debug.go @@ -5,7 +5,7 @@ import ( "net/http" "net/http/pprof" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" ) func init() { diff --git a/session/api_ipinfo.go b/session/api_ipinfo.go index b84432b..c645b37 100644 --- a/session/api_ipinfo.go +++ b/session/api_ipinfo.go @@ -4,7 +4,7 @@ import ( "errors" "net/http" - "github.com/pme-sh/pmesh/netx" + "get.pme.sh/pmesh/netx" ) type IPInfoResult struct { diff --git a/session/api_lambda.go b/session/api_lambda.go index 9dff2fe..42ff934 100644 --- a/session/api_lambda.go +++ b/session/api_lambda.go @@ -11,12 +11,12 @@ import ( "net/http" "time" - "github.com/pme-sh/pmesh/concurrent" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/pmtp" - "github.com/pme-sh/pmesh/snowflake" - "github.com/pme-sh/pmesh/xlog" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/concurrent" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/pmtp" + "get.pme.sh/pmesh/snowflake" + "get.pme.sh/pmesh/xlog" + "get.pme.sh/pmesh/xpost" ) type LambdaID struct { diff --git a/session/api_log.go b/session/api_log.go index b1198c2..3156fe5 100644 --- a/session/api_log.go +++ b/session/api_log.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/xlog" ) func init() { diff --git a/session/api_metrics.go b/session/api_metrics.go index 903201e..ad5aa4e 100644 --- a/session/api_metrics.go +++ b/session/api_metrics.go @@ -7,9 +7,9 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xpost" "github.com/samber/lo" "github.com/shirou/gopsutil/v3/cpu" diff --git a/session/api_rev.go b/session/api_rev.go index c15e8d7..e4402d2 100644 --- a/session/api_rev.go +++ b/session/api_rev.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/revision" + "get.pme.sh/pmesh/revision" ) type RepoInfo struct { diff --git a/session/api_service.go b/session/api_service.go index 2397438..3882c05 100644 --- a/session/api_service.go +++ b/session/api_service.go @@ -6,9 +6,9 @@ import ( "reflect" "strings" - "github.com/pme-sh/pmesh/lb" - "github.com/pme-sh/pmesh/service" - "github.com/pme-sh/pmesh/snowflake" + "get.pme.sh/pmesh/lb" + "get.pme.sh/pmesh/service" + "get.pme.sh/pmesh/snowflake" ) type ServiceHealth struct { diff --git a/session/api_sign.go b/session/api_sign.go index 44f76b8..2bf3aad 100644 --- a/session/api_sign.go +++ b/session/api_sign.go @@ -3,7 +3,7 @@ package session import ( "net/http" - "github.com/pme-sh/pmesh/urlsigner" + "get.pme.sh/pmesh/urlsigner" ) func init() { diff --git a/session/manifest.go b/session/manifest.go index 9059a1a..792f9cc 100644 --- a/session/manifest.go +++ b/session/manifest.go @@ -8,12 +8,12 @@ import ( "slices" "strings" - "github.com/pme-sh/pmesh/hosts" - "github.com/pme-sh/pmesh/lyml" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/service" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/hosts" + "get.pme.sh/pmesh/lyml" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/service" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "github.com/nats-io/nats.go/jetstream" "github.com/samber/lo" diff --git a/session/runner.go b/session/runner.go index 692e839..3b9d94d 100644 --- a/session/runner.go +++ b/session/runner.go @@ -12,12 +12,12 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/enats" - "github.com/pme-sh/pmesh/rate" - "github.com/pme-sh/pmesh/retry" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/enats" + "get.pme.sh/pmesh/rate" + "get.pme.sh/pmesh/retry" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" "github.com/nats-io/nats.go/jetstream" "github.com/samber/lo" diff --git a/session/session.go b/session/session.go index dc74dc0..f5fa079 100644 --- a/session/session.go +++ b/session/session.go @@ -10,19 +10,19 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/concurrent" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/enats" - "github.com/pme-sh/pmesh/lb" - "github.com/pme-sh/pmesh/revision" - "github.com/pme-sh/pmesh/rundown" - "github.com/pme-sh/pmesh/security" - "github.com/pme-sh/pmesh/service" - "github.com/pme-sh/pmesh/snowflake" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/vhttp" - "github.com/pme-sh/pmesh/xlog" - "github.com/pme-sh/pmesh/xpost" + "get.pme.sh/pmesh/concurrent" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/enats" + "get.pme.sh/pmesh/lb" + "get.pme.sh/pmesh/revision" + "get.pme.sh/pmesh/rundown" + "get.pme.sh/pmesh/security" + "get.pme.sh/pmesh/service" + "get.pme.sh/pmesh/snowflake" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/vhttp" + "get.pme.sh/pmesh/xlog" + "get.pme.sh/pmesh/xpost" "github.com/samber/lo" ) diff --git a/setuputil/setup.go b/setuputil/setup.go index a9f1e57..f70bbf6 100644 --- a/setuputil/setup.go +++ b/setuputil/setup.go @@ -8,13 +8,13 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/autonats" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/geo" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/pmtp" - "github.com/pme-sh/pmesh/ui" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/autonats" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/geo" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/pmtp" + "get.pme.sh/pmesh/ui" + "get.pme.sh/pmesh/xlog" "github.com/samber/lo" ) diff --git a/snowflake/id.go b/snowflake/id.go index 6c45961..d783345 100644 --- a/snowflake/id.go +++ b/snowflake/id.go @@ -10,7 +10,7 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/util" "github.com/samber/lo" "github.com/shirou/gopsutil/v3/host" diff --git a/tlsmux/listener.go b/tlsmux/listener.go index 95941cf..96df188 100644 --- a/tlsmux/listener.go +++ b/tlsmux/listener.go @@ -8,7 +8,7 @@ import ( "net" "sync" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/xlog" ) var ErrListenerClosed = errors.New("listener closed") diff --git a/ui/display.go b/ui/display.go index e065b40..e9a2fdc 100644 --- a/ui/display.go +++ b/ui/display.go @@ -11,8 +11,8 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/util" tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" diff --git a/ui/models.go b/ui/models.go index b0af209..0b49549 100644 --- a/ui/models.go +++ b/ui/models.go @@ -8,9 +8,9 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/client" - "github.com/pme-sh/pmesh/session" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/client" + "get.pme.sh/pmesh/session" + "get.pme.sh/pmesh/util" "github.com/charmbracelet/bubbles/key" "github.com/charmbracelet/bubbles/list" diff --git a/vhttp/client.go b/vhttp/client.go index 1263a80..147eb51 100644 --- a/vhttp/client.go +++ b/vhttp/client.go @@ -10,11 +10,11 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/rate" - "github.com/pme-sh/pmesh/ray" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/rate" + "get.pme.sh/pmesh/ray" + "get.pme.sh/pmesh/xlog" ) type ClientMetrics struct { diff --git a/vhttp/error.go b/vhttp/error.go index abc6589..123fc66 100644 --- a/vhttp/error.go +++ b/vhttp/error.go @@ -11,10 +11,10 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/ray" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/ray" + "get.pme.sh/pmesh/util" ) const ( diff --git a/vhttp/hnd.go b/vhttp/hnd.go index d308901..9184f09 100644 --- a/vhttp/hnd.go +++ b/vhttp/hnd.go @@ -3,7 +3,7 @@ package vhttp import ( "net/http" - "github.com/pme-sh/pmesh/variant" + "get.pme.sh/pmesh/variant" "gopkg.in/yaml.v3" ) diff --git a/vhttp/hnd_directives.go b/vhttp/hnd_directives.go index 0d78cf1..b04ea11 100644 --- a/vhttp/hnd_directives.go +++ b/vhttp/hnd_directives.go @@ -10,10 +10,10 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/util" - "github.com/pme-sh/pmesh/variant" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/util" + "get.pme.sh/pmesh/variant" + "get.pme.sh/pmesh/xlog" ) func makeParser(ty reflect.Type) func(string) (reflect.Value, error) { diff --git a/vhttp/hnd_internal.go b/vhttp/hnd_internal.go index 2c18494..ce26be9 100644 --- a/vhttp/hnd_internal.go +++ b/vhttp/hnd_internal.go @@ -5,7 +5,7 @@ import ( "net/http" "time" - "github.com/pme-sh/pmesh/variant" + "get.pme.sh/pmesh/variant" "gopkg.in/yaml.v3" ) diff --git a/vhttp/hnd_ratelimit.go b/vhttp/hnd_ratelimit.go index ed8b656..99ca969 100644 --- a/vhttp/hnd_ratelimit.go +++ b/vhttp/hnd_ratelimit.go @@ -4,8 +4,8 @@ import ( "net/http" "strings" - "github.com/pme-sh/pmesh/rate" - "github.com/pme-sh/pmesh/variant" + "get.pme.sh/pmesh/rate" + "get.pme.sh/pmesh/variant" ) type RateLimitHandler struct { diff --git a/vhttp/hnd_rewrite.go b/vhttp/hnd_rewrite.go index a8fa9aa..356df44 100644 --- a/vhttp/hnd_rewrite.go +++ b/vhttp/hnd_rewrite.go @@ -6,7 +6,7 @@ import ( "regexp" "strings" - "github.com/pme-sh/pmesh/variant" + "get.pme.sh/pmesh/variant" "gopkg.in/yaml.v3" ) diff --git a/vhttp/hnd_service.go b/vhttp/hnd_service.go index 66c3034..a011e05 100644 --- a/vhttp/hnd_service.go +++ b/vhttp/hnd_service.go @@ -7,11 +7,11 @@ import ( "net/http" "strings" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/enats" - "github.com/pme-sh/pmesh/ray" - "github.com/pme-sh/pmesh/variant" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/enats" + "get.pme.sh/pmesh/ray" + "get.pme.sh/pmesh/variant" + "get.pme.sh/pmesh/xlog" ) type StateResolver interface { diff --git a/vhttp/server.go b/vhttp/server.go index 57607db..6131fcb 100644 --- a/vhttp/server.go +++ b/vhttp/server.go @@ -14,12 +14,12 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/hosts" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/security" - "github.com/pme-sh/pmesh/urlsigner" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/hosts" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/security" + "get.pme.sh/pmesh/urlsigner" + "get.pme.sh/pmesh/xlog" ) type ipinfoWrapper struct{ netx.IPInfoProvider } diff --git a/vhttp/vhost.go b/vhttp/vhost.go index 3596c8e..c8ca50f 100644 --- a/vhttp/vhost.go +++ b/vhttp/vhost.go @@ -7,11 +7,11 @@ import ( "strings" "sync/atomic" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/hosts" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/security" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/hosts" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/security" + "get.pme.sh/pmesh/xlog" "github.com/samber/lo" ) diff --git a/xlog/adapters.go b/xlog/adapters.go index 9ba1903..53fb78e 100644 --- a/xlog/adapters.go +++ b/xlog/adapters.go @@ -5,8 +5,8 @@ import ( "io" "log/slog" - "github.com/pme-sh/pmesh/textproc" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/textproc" + "get.pme.sh/pmesh/util" slogzerolog "github.com/samber/slog-zerolog/v2" ) diff --git a/xlog/log_file.go b/xlog/log_file.go index edad22a..a2bfa9d 100644 --- a/xlog/log_file.go +++ b/xlog/log_file.go @@ -5,8 +5,8 @@ import ( "path/filepath" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/lru" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/lru" "gopkg.in/natefinch/lumberjack.v2" ) diff --git a/xlog/parser.go b/xlog/parser.go index 0220b5f..096d89d 100644 --- a/xlog/parser.go +++ b/xlog/parser.go @@ -13,8 +13,8 @@ import ( "strings" "sync/atomic" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/util" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/util" "github.com/icza/backscanner" "github.com/valyala/fastjson" diff --git a/xlog/parser_dir.go b/xlog/parser_dir.go index 2860d74..ed5989c 100644 --- a/xlog/parser_dir.go +++ b/xlog/parser_dir.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/config" + "get.pme.sh/pmesh/config" ) type FileKind uint8 diff --git a/xlog/tail.go b/xlog/tail.go index 6cbd5ce..09e8ca7 100644 --- a/xlog/tail.go +++ b/xlog/tail.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/pme-sh/pmesh/ray" + "get.pme.sh/pmesh/ray" "golang.org/x/sync/errgroup" ) diff --git a/xlog/tail_ooo.go b/xlog/tail_ooo.go index 3447ee4..3798322 100644 --- a/xlog/tail_ooo.go +++ b/xlog/tail_ooo.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/ray" + "get.pme.sh/pmesh/ray" "github.com/valyala/fastjson" ) diff --git a/xpost/peer.go b/xpost/peer.go index 3aa359a..ebdec42 100644 --- a/xpost/peer.go +++ b/xpost/peer.go @@ -11,11 +11,11 @@ import ( "sync" "time" - "github.com/pme-sh/pmesh/config" - "github.com/pme-sh/pmesh/geo" - "github.com/pme-sh/pmesh/netx" - "github.com/pme-sh/pmesh/pmtp" - "github.com/pme-sh/pmesh/security" + "get.pme.sh/pmesh/config" + "get.pme.sh/pmesh/geo" + "get.pme.sh/pmesh/netx" + "get.pme.sh/pmesh/pmtp" + "get.pme.sh/pmesh/security" ) type Peer struct { diff --git a/xpost/peerlist.go b/xpost/peerlist.go index 1da01c0..a0a4976 100644 --- a/xpost/peerlist.go +++ b/xpost/peerlist.go @@ -8,9 +8,9 @@ import ( "sync/atomic" "time" - "github.com/pme-sh/pmesh/enats" - "github.com/pme-sh/pmesh/hosts" - "github.com/pme-sh/pmesh/xlog" + "get.pme.sh/pmesh/enats" + "get.pme.sh/pmesh/hosts" + "get.pme.sh/pmesh/xlog" ) // System data source