Package HttpCli :

- slipt package between pure httpcli and request to become new package Request
- Add options to httpcli allowed to create an http client based on options

Package AWS :
- add option for delete object : check boolean to make or not the check (head) before delete
- add exclusion of NoSuchKey error if check is false

Package Request :
- integer option capabilities to configure the request inteface
- use httpcli option to get httpcli (keep custom function to get an *http.client)
- extend function to mode manage the request
This commit is contained in:
Nicolas JUHEL
2022-04-01 13:33:21 +02:00
parent eb0c034074
commit b1f5e42db7
14 changed files with 628 additions and 174 deletions

View File

@@ -49,12 +49,13 @@ const (
MinPkgNutsDB = 2000
MinPkgOAuth = 2100
MinPkgAws = 2200
MinPkgRouter = 2300
MinPkgSemaphore = 2400
MinPkgSMTP = 2500
MinPkgStatic = 2600
MinPkgVersion = 2700
MinPkgViper = 2800
MinPkgRequest = 2300
MinPkgRouter = 2400
MinPkgSemaphore = 2500
MinPkgSMTP = 2600
MinPkgStatic = 2700
MinPkgVersion = 2800
MinPkgViper = 2900
MinAvailable = 4000