Benign repos Download

controller.go

imports github.com/fatedier/frp/client/http/modelimports github.com/fatedier/frp/pkg/util/http
SHA-256a18da3bb323e428b3fb74dccd7b882264a31771b3cc0ca047d2b47423f279dd0
MaleculeMd(In₄)

Evidence

English function-word token "the" lines 1–7
1// Copyright 2025 The frp Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE- …
imports github.com/fatedier/frp/client/http/model lines 11–36
11:48… , either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package http
16
17import (
18 "cmp"
19 "errors"
20 "fmt"
21 "net"
22 "net/http"
23 "slices"
24 "strconv"
25 "time"
26
27 "github.com/fatedier/frp/client/configmgmt"
28 "github.com/fatedier/frp/client/http/model"
29 "github.com/fatedier/frp/client/proxy"
30 httppkg "github.com/fatedier/frp/pkg/util/http"
31 "github.com/fatedier/frp/pkg/util/jsonx"
32)
33
34// Controller handles HTTP API requests for frpc.
35type Controller struct {
36 serverAddr str …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.