mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-14 17:02:43 +00:00
15 lines
292 B
Go
15 lines
292 B
Go
|
package s3control
|
||
|
|
||
|
import (
|
||
|
"github.com/aws/aws-sdk-go/aws/client"
|
||
|
"github.com/aws/aws-sdk-go/internal/s3err"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
initClient = defaultInitClientFn
|
||
|
}
|
||
|
|
||
|
func defaultInitClientFn(c *client.Client) {
|
||
|
c.Handlers.UnmarshalError.PushBackNamed(s3err.RequestFailureWrapperHandler())
|
||
|
}
|