Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliStorageConfig ¶
type AliStorageConfig struct {
AccessKeyID string `json:"access_key_id"`
AccessKeySecret string `json:"access_key_secret"`
Endpoint string `json:"endpoint"`
BucketName string `json:"bucket_name"`
}
func NewFromReader ¶
func NewFromReader(reader io.Reader) (AliStorageConfig, error)
NewFromReader returns a new ali-storage-cli configuration struct from the contents of reader. reader.Read() is expected to return valid JSON
Click to show internal directories.
Click to hide internal directories.