- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for httpTimeout (0.14 sec)
-
internal/logger/config.go
httpTimeout, err := time.ParseDuration(httpTimeoutCfgVal) if err != nil { return cfg, err } if httpTimeout < time.Second { return cfg, fmt.Errorf("minimum value allowed for http_timeout is '1s': %s", httpTimeout) } cfg.AuditWebhook[k] = http.Config{ HTTPTimeout: httpTimeout, Enabled: true, Endpoint: url,
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Sep 20 16:02:50 UTC 2024 - 18.3K bytes - Viewed (0) -
internal/logger/target/http/http.go
MaxRetry int `json:"maxRetry"` RetryIntvl time.Duration `json:"retryInterval"` Proxy string `json:"string"` Transport http.RoundTripper `json:"-"` HTTPTimeout time.Duration `json:"httpTimeout"` // Custom logger LogOnceIf func(ctx context.Context, err error, id string, errKind ...interface{}) `json:"-"` } // Target implements logger.Target and sends the json
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0)