Files
stfs/pkg/config/config.go

42 lines
562 B
Go

package config
import (
"io"
"os"
)
type DriveReaderConfig struct {
Drive io.ReadSeeker
DriveIsRegular bool
}
type DriveWriterConfig struct {
Drive io.Writer
DriveIsRegular bool
}
type DriveConfig struct {
Drive *os.File
DriveIsRegular bool
}
type MetadataConfig struct {
Metadata string
}
type PipeConfig struct {
Compression string
Encryption string
Signature string
}
type CryptoConfig struct {
Recipient interface{}
Identity interface{}
Password string
}
type PasswordConfig struct {
Password string
}