check minio
This commit is contained in:
parent
f041910455
commit
0d30548e02
2
minio.go
2
minio.go
|
@ -14,6 +14,8 @@ func Init(cfg Config) (*Client, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("cfg", cfg)
|
||||||
|
|
||||||
client, err := min.New(cfg.Endpoint, &min.Options{
|
client, err := min.New(cfg.Endpoint, &min.Options{
|
||||||
Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""),
|
Creds: credentials.NewStaticV4(cfg.AccessKey, cfg.SecretKey, ""),
|
||||||
Secure: cfg.UseSSL,
|
Secure: cfg.UseSSL,
|
||||||
|
|
Loading…
Reference in New Issue