rebrand: frp -> kanhole (kanhole server, kanholec client)
golangci-lint / lint (push) Failing after 1m5s

This commit is contained in:
kannn
2026-05-29 09:05:34 +00:00
Unverified
parent a0a42a4966
commit 2cd3052da1
265 changed files with 949 additions and 962 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package framework
import (
clientsdk "github.com/fatedier/frp/pkg/sdk/client"
clientsdk "kanhole/pkg/sdk/client"
)
func (f *Framework) APIClientForFrpc(port int) *clientsdk.Client {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/fatedier/frp/test/e2e/pkg/port"
"kanhole/test/e2e/pkg/port"
)
const (
+3 -3
View File
@@ -11,9 +11,9 @@ import (
"github.com/onsi/ginkgo/v2"
"github.com/fatedier/frp/test/e2e/mock/server"
"github.com/fatedier/frp/test/e2e/pkg/port"
"github.com/fatedier/frp/test/e2e/pkg/process"
"kanhole/test/e2e/mock/server"
"kanhole/test/e2e/pkg/port"
"kanhole/test/e2e/pkg/process"
)
type Options struct {
+5 -5
View File
@@ -5,11 +5,11 @@ import (
"net/http"
"os"
"github.com/fatedier/frp/test/e2e/framework/consts"
"github.com/fatedier/frp/test/e2e/mock/server"
"github.com/fatedier/frp/test/e2e/mock/server/httpserver"
"github.com/fatedier/frp/test/e2e/mock/server/streamserver"
"github.com/fatedier/frp/test/e2e/pkg/port"
"kanhole/test/e2e/framework/consts"
"kanhole/test/e2e/mock/server"
"kanhole/test/e2e/mock/server/httpserver"
"kanhole/test/e2e/mock/server/streamserver"
"kanhole/test/e2e/pkg/port"
)
const (
+4 -4
View File
@@ -9,10 +9,10 @@ import (
"strconv"
"time"
"github.com/fatedier/frp/pkg/config"
flog "github.com/fatedier/frp/pkg/util/log"
"github.com/fatedier/frp/test/e2e/framework/consts"
"github.com/fatedier/frp/test/e2e/pkg/process"
"kanhole/pkg/config"
flog "kanhole/pkg/util/log"
"kanhole/test/e2e/framework/consts"
"kanhole/test/e2e/pkg/process"
)
// RunProcesses starts one frps and zero or more frpc processes from templates.
+3 -3
View File
@@ -4,9 +4,9 @@ import (
"bytes"
"net/http"
flog "github.com/fatedier/frp/pkg/util/log"
"github.com/fatedier/frp/test/e2e/framework/consts"
"github.com/fatedier/frp/test/e2e/pkg/request"
flog "kanhole/pkg/util/log"
"kanhole/test/e2e/framework/consts"
"kanhole/test/e2e/pkg/request"
)
func SpecifiedHTTPBodyHandler(body []byte) http.HandlerFunc {