[go: up one dir, main page]

minio

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default bucket
)

Functions

This section is empty.

Types

type MinioConfig

type MinioConfig struct {
	Enable          bool   `mapstructure:"enable" json:"enable" yaml:"enable"`                                // 是否开启
	Endpoint        string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"`                          // api节点url,api端口默认为9000,管理页面端口默认9001
	AccessKeyID     string `mapstructure:"access-key-id" json:"accessKeyID" yaml:"access-key-id"`             // 访问ID,在users的ServiceAccount界面生成,可以指定值,也可以随机生成
	SecretAccessKey string `mapstructure:"secret-access-key" json:"secretAccessKey" yaml:"secret-access-key"` // 密钥(与AccessKeyID成对)
	UseSSL          bool   `mapstructure:"use-ssl" json:"useSSL" yaml:"use-ssl"`                              // 是否开启ssl
	Bucket          string `mapstructure:"bucket" json:"bucket" yaml:"bucket"`                                // 桶名
}

minio配置

func (MinioConfig) Load

func (c MinioConfig) Load()

Jump to

Keyboard shortcuts

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