storage_minio

package module
v0.28.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2026 License: MIT Imports: 11 Imported by: 0

README

storage-minio

storage-miniogithub.com/infrago/storageminio 驱动

包定位

  • 类型:驱动
  • 作用:把 storage 模块的统一接口落到 minio 后端实现

快速接入

import (
    _ "github.com/infrago/storage"
    _ "github.com/infrago/storage-minio"
)
[storage]
driver = "minio"

setting 专用配置项

配置位置:[storage].setting

  • endpoint
  • region
  • bucket
  • access
  • accesskey
  • access_key
  • secret
  • secretkey
  • secret_key
  • use_ssl
  • ssl

说明

  • setting 仅对当前驱动生效,不同驱动键名可能不同
  • 连接失败时优先核对 setting 中 host/port/认证/超时等参数

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Driver

func Driver() storage.Driver

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL