Home
last modified time | relevance | path

Searched refs:resty (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/go-resty/resty/
H A DREADME.md1resty/resty.svg?branch=master)](https://travis-ci.org/go-resty/resty) [![codecov](https://codecov.…
28resty client HTTP & REST [Request](https://godoc.org/github.com/go-resty/resty#Client.OnBeforeRequ…
79 go get -u github.com/go-resty/resty
92 Import resty into your code and refer it as `resty`.
122 "User-Agent": "go-resty v0.1 - https://github.com/go-resty/resty"
366 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
374 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
386 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
389 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
453 resty.RemoveProxy()
[all …]
/dports/misc/chrono/chrono-1.1.0-4-g70cda7f/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
36resty client HTTP & REST [Request](https://godoc.org/github.com/go-resty/resty#Client.OnBeforeRequ…
102 go get -u github.com/go-resty/resty
116 Import resty into your code and refer it as `resty`.
148 "User-Agent": "go-resty v0.1 - https://github.com/go-resty/resty"
422 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
430 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
444 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
447 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
528 resty.
[all …]
H A Dexample_test.go57 resp, err := resty.R().
75 resp, err := resty.R().
85 resp1, err1 := resty.R().
94 resp2, err2 := resty.R().
103 resp3, err3 := resty.R().
119 resp, err := resty.R().
136 resp, err := resty.R().
157 resty.SetCertificates(cert)
170 client1 := resty.New()
175 client2 := resty.New()
[all …]
/dports/www/nginx-full/lua-nginx-module-0.10.19/t/
H A D161-load-resty-core.t33 local resty_core = require "resty.core"
39 resty.core loaded: true
50 local resty_core = require "resty.core"
56 resty.core loaded: true
67 local resty_core = require "resty.core"
73 resty.core loaded: true
84 local resty_core = require "resty.core"
92 resty.core loaded: true
95 >>> resty/core.lua
113 qr/\[alert\] .*? failed to load the 'resty\.core' module .*? \(reason: module 'resty\.core' not fou…
[all …]
/dports/security/vault/vault-1.8.2/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
H A Dexample_test.go57 resp, err := resty.R().
75 resp, err := resty.R().
85 resp1, err1 := resty.R().
94 resp2, err2 := resty.R().
103 resp3, err3 := resty.R().
119 resp, err := resty.R().
136 resp, err := resty.R().
157 resty.SetCertificates(cert)
170 client1 := resty.New()
175 client2 := resty.New()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/consul/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/sysutils/consul/consul-1.10.3/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-discover/provider/linode/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/go-discover/provider/linode/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/sysutils/nomad/nomad-1.1.0/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/vendor/gopkg.in/resty.v1/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
121 Import resty into your code and refer it as `resty`.
154 "User-Agent": "go-resty/1.10.0 (https://github.com/go-resty/resty)"
428 resty.OnBeforeRequest(func(c *resty.Client, req *resty.Request) error {
436 resty.OnAfterResponse(func(c *resty.Client, resp *resty.Response) error {
450 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(15))
453 resty.SetRedirectPolicy(resty.FlexibleRedirectPolicy(20),
522 resty.RemoveProxy()
534 resty.
573 resty.SetRESTMode()
[all …]
/dports/www/mattermost-server/mattermost-server-6.0.2/vendor/github.com/go-resty/resty/v2/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
110 require github.com/go-resty/resty/v2 v2.4.0
118 // Import resty into your code and refer it as `resty`.
119 import "github.com/go-resty/resty/v2"
126 client := resty.New()
173 "User-Agent": "go-resty/2.4.0 (https://github.com/go-resty/resty)",
200 client := resty.New()
234 client := resty.New()
290 client := resty.New()
314 client := resty.New()
[all …]
/dports/security/lego/lego-4.5.3/vendor/github.com/go-resty/resty/v2/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
107 require github.com/go-resty/resty/v2 v2.1.0
115 // Import resty into your code and refer it as `resty`.
116 import "github.com/go-resty/resty/v2"
123 client := resty.New()
165 "User-Agent": "go-resty/2.0.0 (https://github.com/go-resty/resty)"
188 client := resty.New()
215 client := resty.New()
271 client := resty.New()
295 client := resty.New()
[all …]
H A Dexample_test.go47 client := resty.New()
61 client := resty.New()
80 client := resty.New()
128 client := resty.New()
146 client := resty.New()
173 client := resty.New()
180 client := resty.New()
190 client1 := resty.New()
195 client2 := resty.New()
212 client := resty.New()
[all …]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/go-resty/resty/v2/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
107 require github.com/go-resty/resty/v2 v2.1.0
115 // Import resty into your code and refer it as `resty`.
116 import "github.com/go-resty/resty/v2"
123 client := resty.New()
165 "User-Agent": "go-resty/2.0.0 (https://github.com/go-resty/resty)"
188 client := resty.New()
215 client := resty.New()
271 client := resty.New()
295 client := resty.New()
[all …]
H A Dexample_test.go47 client := resty.New()
61 client := resty.New()
80 client := resty.New()
128 client := resty.New()
146 client := resty.New()
173 client := resty.New()
180 client := resty.New()
190 client1 := resty.New()
195 client2 := resty.New()
212 client := resty.New()
[all …]
/dports/net/traefik/traefik-2.6.1/vendor/github.com/go-resty/resty/v2/
H A DREADME.md7resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status">…
107 require github.com/go-resty/resty/v2 v2.1.0
115 // Import resty into your code and refer it as `resty`.
116 import "github.com/go-resty/resty/v2"
123 client := resty.New()
165 "User-Agent": "go-resty/2.0.0 (https://github.com/go-resty/resty)"
188 client := resty.New()
215 client := resty.New()
271 client := resty.New()
295 client := resty.New()
[all …]
/dports/security/lego/lego-4.5.3/vendor/github.com/linode/linodego/
H A Dretries.go15 type RetryConditional resty.RetryConditionFunc
18 type RetryAfter resty.RetryAfterFunc
24 c.resty.
30 func checkRetryConditionals(c *Client) func(*resty.Response, error) bool {
31 return func(r *resty.Response, err error) bool {
45 func linodeBusyRetryCondition(r *resty.Response, _ error) bool {
52 func tooManyRequestsRetryCondition(r *resty.Response, _ error) bool {
56 func serviceUnavailableRetryCondition(r *resty.Response, _ error) bool {
60 func requestTimeoutRetryCondition(r *resty.Response, _ error) bool {
64 func respectRetryAfter(client *resty.Client, resp *resty.Response) (time.Duration, error) {
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/linode/linodego/
H A Dretries.go15 type RetryConditional resty.RetryConditionFunc
18 type RetryAfter resty.RetryAfterFunc
24 c.resty.
30 func checkRetryConditionals(c *Client) func(*resty.Response, error) bool {
31 return func(r *resty.Response, err error) bool {
45 func linodeBusyRetryCondition(r *resty.Response, _ error) bool {
52 func tooManyRequestsRetryCondition(r *resty.Response, _ error) bool {
56 func serviceUnavailableRetryCondition(r *resty.Response, _ error) bool {
60 func requestTimeoutRetryCondition(r *resty.Response, _ error) bool {
64 func respectRetryAfter(client *resty.Client, resp *resty.Response) (time.Duration, error) {
/dports/net/traefik/traefik-2.6.1/vendor/github.com/linode/linodego/
H A Dretries.go15 type RetryConditional resty.RetryConditionFunc
18 type RetryAfter resty.RetryAfterFunc
24 c.resty.
30 func checkRetryConditionals(c *Client) func(*resty.Response, error) bool {
31 return func(r *resty.Response, err error) bool {
45 func linodeBusyRetryCondition(r *resty.Response, _ error) bool {
52 func tooManyRequestsRetryCondition(r *resty.Response, _ error) bool {
56 func serviceUnavailableRetryCondition(r *resty.Response, _ error) bool {
60 func requestTimeoutRetryCondition(r *resty.Response, _ error) bool {
64 func respectRetryAfter(client *resty.Client, resp *resty.Response) (time.Duration, error) {
/dports/sysutils/sensu-go/sensu-go-5.11.1/cli/client/
H A Dclient.go23 resty *resty.Client member
38 restyInst := resty.New()
39 client := &RestClient{resty: restyInst, config: config}
45 restyInst.SetRedirectPolicy(resty.FlexibleRedirectPolicy(10))
52 restyInst.OnBeforeRequest(func(c *resty.Client, r *resty.Request) error {
118 func (client *RestClient) R() *resty.Request {
120 request := client.resty.R()
127 client.resty.SetTLSClientConfig(c)
138 client.resty.SetAuthToken("")
146 restyInst := client.resty
[all …]
/dports/devel/lua-resty-string/lua-resty-string-0.15/
H A DREADME.markdown68 local str = require "resty.string"
94 local str = require "resty.string"
99 local str = require "resty.string"
106 local str = require "resty.string"
113 local str = require "resty.string"
120 local str = require "resty.string"
128 local str = require "resty.string"
143 local aes = require "resty.aes"
152 local aes = require "resty.aes"
164 local aes = require "resty.aes"
[all …]

12345678910>>...43