/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/gin-1.7.4/ |
H A D | githubapi_test.go | 27 {http.MethodGet, "/authorizations"}, 38 {http.MethodGet, "/events"}, 47 {http.MethodGet, "/feeds"}, 75 {http.MethodGet, "/gists"}, 78 {http.MethodGet, "/gists/:id"}, 103 {http.MethodGet, "/issues"}, 139 {http.MethodGet, "/emojis"}, 144 {http.MethodGet, "/meta"}, 149 {http.MethodGet, "/user/orgs"}, 266 {http.MethodGet, "/user"}, [all …]
|
H A D | routes_test.go | 74 methodRoute = http.MethodGet 109 testRouteOK(http.MethodGet, t) 121 testRouteNotOK(http.MethodGet, t) 133 testRouteNotOK2(http.MethodGet, t) 157 w = performRequest(router, http.MethodGet, "/path2") 169 w = performRequest(router, http.MethodGet, "/path") 190 w = performRequest(router, http.MethodGet, "/path/") 192 w = performRequest(router, http.MethodGet, "/path2") 332 w := performRequest(router, http.MethodGet, "/") 344 w := performRequest(router, http.MethodGet, "/") [all …]
|
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/ |
H A D | githubapi_test.go | 27 {http.MethodGet, "/authorizations"}, 38 {http.MethodGet, "/events"}, 47 {http.MethodGet, "/feeds"}, 75 {http.MethodGet, "/gists"}, 78 {http.MethodGet, "/gists/:id"}, 103 {http.MethodGet, "/issues"}, 139 {http.MethodGet, "/emojis"}, 144 {http.MethodGet, "/meta"}, 149 {http.MethodGet, "/user/orgs"}, 266 {http.MethodGet, "/user"}, [all …]
|
H A D | routes_test.go | 74 methodRoute = http.MethodGet 109 testRouteOK(http.MethodGet, t) 121 testRouteNotOK(http.MethodGet, t) 133 testRouteNotOK2(http.MethodGet, t) 157 w = performRequest(router, http.MethodGet, "/path2") 169 w = performRequest(router, http.MethodGet, "/path") 190 w = performRequest(router, http.MethodGet, "/path/") 192 w = performRequest(router, http.MethodGet, "/path2") 334 w := performRequest(router, http.MethodGet, "/") 346 w := performRequest(router, http.MethodGet, "/") [all …]
|
/dports/security/go-cve-dictionary/go-cve-dictionary-0.5.5/vendor/github.com/labstack/echo/ |
H A D | router_test.go | 513 r.Find(http.MethodGet, path, c) 577 r.Find(http.MethodGet, "/", c) 621 r.Find(http.MethodGet, "/1/2/3", c) 657 r.Find(http.MethodGet, "/users", c) 667 r.Find(http.MethodGet, "/user", c) 708 r.Find(http.MethodGet, "/users", c) 761 r.Find(http.MethodGet, "/a/foo", c) 765 r.Find(http.MethodGet, "/a/bar", c) 881 {http.MethodGet, "/:a/:id", ""}, 886 {http.MethodGet, "/:a/:id", ""}, [all …]
|
H A D | echo_test.go | 76 c, _ = request(http.MethodGet, "/images", e) 81 c, r := request(http.MethodGet, "/", e) 86 c, r = request(http.MethodGet, "/folder", e) 94 c, b := request(http.MethodGet, "/walle", e) 137 c, b := request(http.MethodGet, "/", e) 151 c, _ := request(http.MethodGet, "/", e) 163 c, b := request(http.MethodGet, "/ok", e) 217 testMethod(t, http.MethodGet, "/", e) 371 request(http.MethodGet, "/users", e) 375 request(http.MethodGet, "/group1", e) [all …]
|
/dports/www/miniflux/v2-2.0.35/ui/ |
H A D | ui.go | 42 uiRouter.HandleFunc("/favicon.ico", handler.showFavicon).Name("favicon").Methods(http.MethodGet) 54 uiRouter.HandleFunc("/unread", handler.showUnreadPage).Name("unread").Methods(http.MethodGet) 58 uiRouter.HandleFunc("/history", handler.showHistoryPage).Name("history").Methods(http.MethodGet) 63 uiRouter.HandleFunc("/starred", handler.showStarredPage).Name("starred").Methods(http.MethodGet) 71 uiRouter.HandleFunc("/feeds", handler.showFeedsPage).Name("feeds").Methods(http.MethodGet) 112 uiRouter.HandleFunc("/users", handler.showUsersPage).Name("users").Methods(http.MethodGet) 126 uiRouter.HandleFunc("/about", handler.showAboutPage).Name("about").Methods(http.MethodGet) 133 uiRouter.HandleFunc("/keys", handler.showAPIKeysPage).Name("apiKeys").Methods(http.MethodGet) 139 uiRouter.HandleFunc("/export", handler.exportFeeds).Name("export").Methods(http.MethodGet) 140 uiRouter.HandleFunc("/import", handler.showImportPage).Name("import").Methods(http.MethodGet) [all …]
|
/dports/net/storj/storj-1.45.3/multinode/console/server/ |
H A D | server.go | 91 nodesRouter.HandleFunc("/infos", nodesController.ListInfos).Methods(http.MethodGet) 94 nodesRouter.HandleFunc("/{id}", nodesController.Get).Methods(http.MethodGet) 100 operatorsRouter.HandleFunc("", operatorsController.ListPaginated).Methods(http.MethodGet) 104 bandwidthRouter.HandleFunc("/", bandwidthController.Monthly).Methods(http.MethodGet) 105 bandwidthRouter.HandleFunc("/{nodeID}", bandwidthController.MonthlyNode).Methods(http.MethodGet) 111 payoutsRouter.HandleFunc("/summaries", payoutsController.Summary).Methods(http.MethodGet) 113 payoutsRouter.HandleFunc("/expectations", payoutsController.Expectations).Methods(http.MethodGet) 115 payoutsRouter.HandleFunc("/paystubs/{nodeID}", payoutsController.Paystub).Methods(http.MethodGet) 117 payoutsRouter.HandleFunc("/total-earned", payoutsController.Earned).Methods(http.MethodGet) 126 storageRouter.HandleFunc("/usage", storageController.TotalUsage).Methods(http.MethodGet) [all …]
|
/dports/net/traefik/traefik-2.6.1/pkg/api/ |
H A D | handler.go | 85 router.Methods(http.MethodGet).Path("/api/rawdata").HandlerFunc(h.getRuntimeConfiguration) 88 router.Methods(http.MethodGet).Path("/api/overview").HandlerFunc(h.getOverview) 90 router.Methods(http.MethodGet).Path("/api/entrypoints").HandlerFunc(h.getEntryPoints) 93 router.Methods(http.MethodGet).Path("/api/http/routers").HandlerFunc(h.getRouters) 94 router.Methods(http.MethodGet).Path("/api/http/routers/{routerID}").HandlerFunc(h.getRouter) 95 router.Methods(http.MethodGet).Path("/api/http/services").HandlerFunc(h.getServices) 97 router.Methods(http.MethodGet).Path("/api/http/middlewares").HandlerFunc(h.getMiddlewares) 100 router.Methods(http.MethodGet).Path("/api/tcp/routers").HandlerFunc(h.getTCPRouters) 102 router.Methods(http.MethodGet).Path("/api/tcp/services").HandlerFunc(h.getTCPServices) 107 router.Methods(http.MethodGet).Path("/api/udp/routers").HandlerFunc(h.getUDPRouters) [all …]
|
H A D | debug.go | 27 router.Methods(http.MethodGet).Path("/debug/vars"). 44 router.Methods(http.MethodGet).PathPrefix("/debug/pprof/cmdline").HandlerFunc(pprof.Cmdline) 45 router.Methods(http.MethodGet).PathPrefix("/debug/pprof/profile").HandlerFunc(pprof.Profile) 46 router.Methods(http.MethodGet).PathPrefix("/debug/pprof/symbol").HandlerFunc(pprof.Symbol) 47 router.Methods(http.MethodGet).PathPrefix("/debug/pprof/trace").HandlerFunc(pprof.Trace) 48 router.Methods(http.MethodGet).PathPrefix("/debug/pprof/").HandlerFunc(pprof.Index)
|
/dports/www/miniflux/v2-2.0.35/api/ |
H A D | api.go | 32 sr.HandleFunc("/users", handler.users).Methods(http.MethodGet) 33 sr.HandleFunc("/users/{userID:[0-9]+}", handler.userByID).Methods(http.MethodGet) 37 sr.HandleFunc("/users/{username}", handler.userByUsername).Methods(http.MethodGet) 38 sr.HandleFunc("/me", handler.currentUser).Methods(http.MethodGet) 40 sr.HandleFunc("/categories", handler.getCategories).Methods(http.MethodGet) 49 sr.HandleFunc("/feeds", handler.getFeeds).Methods(http.MethodGet) 52 sr.HandleFunc("/feeds/{feedID}", handler.getFeed).Methods(http.MethodGet) 55 sr.HandleFunc("/feeds/{feedID}/icon", handler.feedIcon).Methods(http.MethodGet) 57 sr.HandleFunc("/export", handler.exportFeeds).Methods(http.MethodGet) 61 sr.HandleFunc("/entries", handler.getEntries).Methods(http.MethodGet) [all …]
|
/dports/net/traefik/traefik-2.6.1/pkg/metrics/ |
H A D | prometheus_test.go | 134 With("method", http.MethodGet, "protocol", "http", "entrypoint", "http"). 217 "method": http.MethodGet, 227 "method": http.MethodGet, 236 "method": http.MethodGet, 246 "method": http.MethodGet, 267 "method": http.MethodGet, 277 "method": http.MethodGet, 288 "method": http.MethodGet, 307 "method": http.MethodGet, 316 "method": http.MethodGet, [all …]
|
H A D | pilot_test.go | 134 …With("code", strconv.Itoa(http.StatusOK), "method", http.MethodGet, "protocol", "http", "entrypoin… 138 …With("code", strconv.Itoa(http.StatusOK), "method", http.MethodGet, "protocol", "http", "entrypoin… 142 With("method", http.MethodGet, "protocol", "http", "entrypoint", "http"). 147 …With("service", "service1", "code", strconv.Itoa(http.StatusOK), "method", http.MethodGet, "protoc… 155 With("service", "service1", "method", http.MethodGet, "protocol", "http"). 193 "method": http.MethodGet, 203 "method": http.MethodGet, 212 "method": http.MethodGet, 222 "method": http.MethodGet, 232 "method": http.MethodGet, [all …]
|
/dports/www/pomerium/pomerium-0.8.3/proxy/ |
H A D | forward_auth_test.go | 47 …{"good redirect not required", opts, nil, http.MethodGet, nil, nil, "https://some.domain.example/"… 48 …{"good verify only, no redirect", opts, nil, http.MethodGet, nil, nil, "https://some.domain.exampl… 49 …{"bad empty domain uri", opts, nil, http.MethodGet, nil, map[string]string{"uri": ""}, "https://so… 50 …{"bad naked domain uri", opts, nil, http.MethodGet, nil, nil, "https://some.domain.example/", "a.n… 52 …{"bad empty verification uri", opts, nil, http.MethodGet, nil, nil, "https://some.domain.example/"… 53 …{"bad empty verification uri verify only", opts, nil, http.MethodGet, nil, nil, "https://some.doma… 54 …{"not authorized", opts, nil, http.MethodGet, nil, nil, "https://some.domain.example/", "https://s… 55 …{"not authorized verify endpoint", opts, nil, http.MethodGet, nil, nil, "https://some.domain.examp… 56 …{"not authorized because of error", opts, nil, http.MethodGet, nil, nil, "https://some.domain.exam… 57 …{"expired", opts, nil, http.MethodGet, nil, nil, "https://some.domain.example/", "https://some.dom… [all …]
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/getkin/kin-openapi/routers/legacy/ |
H A D | router_test.go | 134 expect(r, http.MethodGet, "/not_existing", nil, nil) 136 expect(r, http.MethodGet, "/hello", helloGET, nil) 141 expect(r, http.MethodGet, "/params/a/b/", paramsGET, map[string]string{ 146 expect(r, http.MethodGet, "/params/a/b/c%2Fd", paramsGET, map[string]string{ 151 expect(r, http.MethodGet, "/books/War.and.Peace", paramsGET, map[string]string{ 173 expect(r, http.MethodGet, "/hello", nil, nil) 174 expect(r, http.MethodGet, "/api/v1/hello", nil, nil) 175 expect(r, http.MethodGet, "www.example.com/api/v1/hello", nil, nil) 176 expect(r, http.MethodGet, "https:///api/v1/hello", nil, nil) 177 expect(r, http.MethodGet, "https://www.example.com/hello", nil, nil) [all …]
|
/dports/net/storj/storj-1.45.3/storagenode/console/consoleserver/ |
H A D | server.go | 68 storageNodeRouter.HandleFunc("/", storageNodeController.StorageNode).Methods(http.MethodGet) 69 …orageNodeRouter.HandleFunc("/satellites", storageNodeController.Satellites).Methods(http.MethodGet) 70 …geNodeRouter.HandleFunc("/satellite/{id}", storageNodeController.Satellite).Methods(http.MethodGet) 71 …uter.HandleFunc("/estimated-payout", storageNodeController.EstimatedPayout).Methods(http.MethodGet) 76 …icationRouter.HandleFunc("/list", notificationController.ListNotifications).Methods(http.MethodGet) 83 …outRouter.HandleFunc("/paystubs/{period}", payoutController.PayStubMonthly).Methods(http.MethodGet) 84 …outer.HandleFunc("/paystubs/{start}/{end}", payoutController.PayStubPeriod).Methods(http.MethodGet) 85 payoutRouter.HandleFunc("/held-history", payoutController.HeldHistory).Methods(http.MethodGet) 86 payoutRouter.HandleFunc("/periods", payoutController.HeldAmountPeriods).Methods(http.MethodGet) 87 …uter.HandleFunc("/payout-history/{period}", payoutController.PayoutHistory).Methods(http.MethodGet)
|
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/getkin/kin-openapi/routers/gorillamux/ |
H A D | router_test.go | 134 expect(r, http.MethodGet, "/not_existing", nil, nil) 136 expect(r, http.MethodGet, "/hello", helloGET, nil) 141 expect(r, http.MethodGet, "/params/a/b/", paramsGET, map[string]string{ 146 expect(r, http.MethodGet, "/params/a/b/c%2Fd", paramsGET, map[string]string{ 151 expect(r, http.MethodGet, "/books/War.and.Peace", paramsGET, map[string]string{ 171 expect(r, http.MethodGet, "/hello", nil, nil) 172 expect(r, http.MethodGet, "/api/v1/hello", nil, nil) 173 expect(r, http.MethodGet, "www.example.com/api/v1/hello", nil, nil) 174 expect(r, http.MethodGet, "https:///api/v1/hello", nil, nil) 175 expect(r, http.MethodGet, "https://www.example.com/hello", nil, nil) [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/open-policy-agent/opa/server/ |
H A D | server_test.go | 168 {http.MethodGet, "/data/lvl2", "", 405, ""}, 178 {http.MethodGet, "/data", "", 405, ""}, 354 {http.MethodGet, "/data/deadbeef?input", "", 400, `{ 454 {http.MethodGet, "/query?q=x", "", 400, ""}, 463 {http.MethodGet, "/data/a/b/c/d", "", 200, `{}`}, 465 {http.MethodGet, "/data/a/b/c", "", 200, `{}`}, 471 {http.MethodGet, "/data/a/b", "", 200, `{}`}, 520 get := newReqV1(http.MethodGet, `/data?watch`, "") 1131 list := newReqV1(http.MethodGet, "/policies", "") 1170 get := newReqV1(http.MethodGet, "/policies/1", "") [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/open-policy-agent/opa/server/authorizer/ |
H A D | authorizer_test.go | 142 {"root (ok)", "token0", http.MethodGet, "", http.StatusOK, "", ""}, 143 {"index.html (ok)", "token0", http.MethodGet, "/index.html", http.StatusOK, "", ""}, 144 …{"undefined", "token0", http.MethodGet, "/undefined", http.StatusInternalServerError, types.CodeIn… 145 …{"evaluation error", "token0", http.MethodGet, "/divide_by_zero", http.StatusInternalServerError, … 146 {"ok", "token1", http.MethodGet, "/data/some/specific/document", http.StatusOK, "", ""}, 147 …{"ok (w/ query params)", "token1", http.MethodGet, "/data/some/specific/document?pretty=true", htt… 149 …{"unauthorized path", "token2", http.MethodGet, "/data/some/doc/not/allowed", http.StatusUnauthori… 150 …{"unauthorized path (w/ query params)", "token2", http.MethodGet, "/data/some/doc/not/allowed?pret… 200 req, err := http.NewRequest(http.MethodGet, "http://localhost:8181", nil) 233 req, err := http.NewRequest(http.MethodGet, "http://localhost:8181"+path, nil)
|
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/open-policy-agent/opa/server/authorizer/ |
H A D | authorizer_test.go | 142 {"root (ok)", "token0", http.MethodGet, "", http.StatusOK, "", ""}, 143 {"index.html (ok)", "token0", http.MethodGet, "/index.html", http.StatusOK, "", ""}, 144 …{"undefined", "token0", http.MethodGet, "/undefined", http.StatusInternalServerError, types.CodeIn… 145 …{"evaluation error", "token0", http.MethodGet, "/divide_by_zero", http.StatusInternalServerError, … 146 {"ok", "token1", http.MethodGet, "/data/some/specific/document", http.StatusOK, "", ""}, 147 …{"ok (w/ query params)", "token1", http.MethodGet, "/data/some/specific/document?pretty=true", htt… 149 …{"unauthorized path", "token2", http.MethodGet, "/data/some/doc/not/allowed", http.StatusUnauthori… 150 …{"unauthorized path (w/ query params)", "token2", http.MethodGet, "/data/some/doc/not/allowed?pret… 202 req, err := http.NewRequest(http.MethodGet, "http://localhost:8181", nil) 235 req, err := http.NewRequest(http.MethodGet, "http://localhost:8181"+path, nil)
|
/dports/security/lego/lego-4.5.3/vendor/gopkg.in/ns1/ns1-go.v2/mockns1/ |
H A D | servehttp_test.go | 32 Method: http.MethodGet, 37 http.MethodGet, "/test", http.StatusTeapot, nil, nil, "", "", 48 Method: http.MethodGet, 54 http.MethodGet, "/bad/body", http.StatusTeapot, nil, nil, "", "", 67 Method: http.MethodGet, 77 http.MethodGet, "/request/header", http.StatusOK, hdrs, nil, "", 89 Method: http.MethodGet, 95 http.MethodGet, "/request/body", http.StatusOK, nil, nil, "body",
|
/dports/net/nsq/nsq-1.2.1/vendor/github.com/julienschmidt/httprouter/ |
H A D | router_test.go | 105 router.Handler(http.MethodGet, "/Handler", httpHandler) 112 r, _ := http.NewRequest(http.MethodGet, "/GET", nil) 154 r, _ = http.NewRequest(http.MethodGet, "/Handler", nil) 343 r, _ := http.NewRequest(http.MethodGet, "/path", nil) 357 r, _ = http.NewRequest(http.MethodGet, "/path", nil) 409 r, _ := http.NewRequest(http.MethodGet, tr.route, nil) 423 r, _ := http.NewRequest(http.MethodGet, "/nope", nil) 442 r, _ = http.NewRequest(http.MethodGet, "/", nil) 488 handle, _, tsr := router.Lookup(http.MethodGet, "/nope") 521 handle, _, tsr = router.Lookup(http.MethodGet, "/nope") [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/julienschmidt/httprouter/ |
H A D | router_test.go | 105 router.Handler(http.MethodGet, "/Handler", httpHandler) 112 r, _ := http.NewRequest(http.MethodGet, "/GET", nil) 154 r, _ = http.NewRequest(http.MethodGet, "/Handler", nil) 343 r, _ := http.NewRequest(http.MethodGet, "/path", nil) 357 r, _ = http.NewRequest(http.MethodGet, "/path", nil) 409 r, _ := http.NewRequest(http.MethodGet, tr.route, nil) 423 r, _ := http.NewRequest(http.MethodGet, "/nope", nil) 442 r, _ = http.NewRequest(http.MethodGet, "/", nil) 488 handle, _, tsr := router.Lookup(http.MethodGet, "/nope") 521 handle, _, tsr = router.Lookup(http.MethodGet, "/nope") [all …]
|
/dports/deskutils/ultralist/ultralist-1.7.0/vendor/github.com/julienschmidt/httprouter/httprouter-1.3.0/ |
H A D | router_test.go | 105 router.Handler(http.MethodGet, "/Handler", httpHandler) 112 r, _ := http.NewRequest(http.MethodGet, "/GET", nil) 154 r, _ = http.NewRequest(http.MethodGet, "/Handler", nil) 343 r, _ := http.NewRequest(http.MethodGet, "/path", nil) 357 r, _ = http.NewRequest(http.MethodGet, "/path", nil) 409 r, _ := http.NewRequest(http.MethodGet, tr.route, nil) 423 r, _ := http.NewRequest(http.MethodGet, "/nope", nil) 442 r, _ = http.NewRequest(http.MethodGet, "/", nil) 488 handle, _, tsr := router.Lookup(http.MethodGet, "/nope") 521 handle, _, tsr = router.Lookup(http.MethodGet, "/nope") [all …]
|
/dports/net-mgmt/pushgateway/pushgateway-1.4.2/vendor/github.com/julienschmidt/httprouter/ |
H A D | router_test.go | 105 router.Handler(http.MethodGet, "/Handler", httpHandler) 112 r, _ := http.NewRequest(http.MethodGet, "/GET", nil) 154 r, _ = http.NewRequest(http.MethodGet, "/Handler", nil) 343 r, _ := http.NewRequest(http.MethodGet, "/path", nil) 357 r, _ = http.NewRequest(http.MethodGet, "/path", nil) 409 r, _ := http.NewRequest(http.MethodGet, tr.route, nil) 423 r, _ := http.NewRequest(http.MethodGet, "/nope", nil) 442 r, _ = http.NewRequest(http.MethodGet, "/", nil) 488 handle, _, tsr := router.Lookup(http.MethodGet, "/nope") 521 handle, _, tsr = router.Lookup(http.MethodGet, "/nope") [all …]
|