mirror of
https://github.com/fatedier/frp.git
synced 2025-08-02 03:59:03 +00:00
update golangci-lint version (#4817)
This commit is contained in:
@@ -24,12 +24,14 @@ type generalTestConfigures struct {
|
||||
}
|
||||
|
||||
func renderBindPortConfig(protocol string) string {
|
||||
if protocol == "kcp" {
|
||||
switch protocol {
|
||||
case "kcp":
|
||||
return fmt.Sprintf(`kcp_bind_port = {{ .%s }}`, consts.PortServerName)
|
||||
} else if protocol == "quic" {
|
||||
case "quic":
|
||||
return fmt.Sprintf(`quic_bind_port = {{ .%s }}`, consts.PortServerName)
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func runClientServerTest(f *framework.Framework, configures *generalTestConfigures) {
|
||||
|
Reference in New Issue
Block a user