Documentation ¶
Overview ¶
WIP
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncryptType ¶
type EncryptType string
const ( EncryptTypeZip EncryptType = "zip" EncryptTypeGPG EncryptType = "gpg" )
type FileEncrypter ¶
func CreateEncrypter ¶
func CreateEncrypter(t EncryptType) (FileEncrypter, error)
TODO: Functional options patternでオプションを渡せるようにする
type PGPEncrypter ¶
type PGPEncrypter struct {
// contains filtered or unexported fields
}
func NewPGPEncrypter ¶
func NewPGPEncrypter() (PGPEncrypter, error)
Click to show internal directories.
Click to hide internal directories.