You've already forked VptPassiveAdapter
s3 adapter
This commit is contained in:
@ -10,8 +10,17 @@ type RecordConfig struct {
|
||||
}
|
||||
|
||||
type StorageConfig struct {
|
||||
Type string `mapstructure:"type"`
|
||||
Path string `mapstructure:"path"`
|
||||
Type string `mapstructure:"type"`
|
||||
Path string `mapstructure:"path"`
|
||||
S3 S3Config `mapstructure:"s3"`
|
||||
}
|
||||
|
||||
type S3Config struct {
|
||||
Region string `mapstructure:"region"`
|
||||
Bucket string `mapstructure:"bucket"`
|
||||
Prefix string `mapstructure:"prefix"`
|
||||
AkId string `mapstructure:"akId"`
|
||||
AkSec string `mapstructure:"akSec"`
|
||||
}
|
||||
|
||||
type DeviceMapping struct {
|
||||
|
Reference in New Issue
Block a user