Documentation
¶
Index ¶
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func GetConfigModel ¶
func GetConfigModel() interface{}
func IsErrorInit ¶
func IsErrorInit() bool
Types ¶
type Model ¶ added in v1.3.2
type Model struct { Region string `mapstructure:"region" json:"region" yaml:"region" toml:"region" validate:"required,hostname"` Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint" toml:"endpoint" validate:"required,url"` AccessKey string `mapstructure:"accesskey" json:"accesskey" yaml:"accesskey" toml:"accesskey" validate:"required,printascii"` SecretKey string `mapstructure:"secretkey" json:"secretkey" yaml:"secretkey" toml:"secretkey" validate:"required,printascii"` Bucket string `mapstructure:"bucket" json:"bucket" yaml:"bucket" toml:"bucket" validate:"omitempty,hostname"` }
Click to show internal directories.
Click to hide internal directories.