Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "minio"
)
Variables ¶
This section is empty.
Functions ¶
func MustNewObjectStore ¶
func MustNewObjectStore(config Config) oss.ObjectStore
func NewObjectStore ¶
func NewObjectStore(config Config) (oss.ObjectStore, error)
Types ¶
type Config ¶
type Config struct { Region string `yaml:"region" mapstructure:"region" json:"region"` KeyID string `yaml:"key_id" mapstructure:"key_id" json:"key_id"` Secret string `yaml:"secret" mapstructure:"secret" json:"secret"` Endpoint string `yaml:"endpoint" mapstructure:"endpoint" json:"endpoint"` UseSSL bool `yaml:"use_ssl" mapstructure:"use_ssl" json:"use_ssl"` }
Click to show internal directories.
Click to hide internal directories.