Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Exists(key string) (bool, error) LatestMatching(prefix string) (string, int64, error) Upload(key string, source io.Reader) (int64, error) UploadCompressed(key string, source io.Reader) (int64, error) UploadEncrypted(key string, source io.Reader, compress bool) (int64, error) UploadPassphrase(key string, source io.Reader, compress bool) (int64, error) HasIdentities() bool Download(key string, sink io.Writer) (int64, error) }
type ErrIdentitiesNotFound ¶
type ErrIdentitiesNotFound struct{}
func (*ErrIdentitiesNotFound) Error ¶
func (e *ErrIdentitiesNotFound) Error() string
type ErrNoMatch ¶
type ErrNoMatch struct {
// contains filtered or unexported fields
}
func (*ErrNoMatch) Error ¶
func (e *ErrNoMatch) Error() string
type ErrNoRecipientsFile ¶
type ErrNoRecipientsFile struct{}
func (*ErrNoRecipientsFile) Error ¶
func (e *ErrNoRecipientsFile) Error() string
type ErrNoSecretsFile ¶
type ErrNoSecretsFile struct{}
func (*ErrNoSecretsFile) Error ¶
func (e *ErrNoSecretsFile) Error() string
type ErrNoSecretsFound ¶
type ErrNoSecretsFound struct {
// contains filtered or unexported fields
}
func (*ErrNoSecretsFound) Error ¶
func (e *ErrNoSecretsFound) Error() string
type ErrNoSuchObject ¶
type ErrNoSuchObject struct {
// contains filtered or unexported fields
}
func (*ErrNoSuchObject) Error ¶
func (e *ErrNoSuchObject) Error() string
type ErrNotDownloadable ¶
type ErrNotDownloadable struct {
// contains filtered or unexported fields
}
func (*ErrNotDownloadable) Error ¶
func (e *ErrNotDownloadable) Error() string
type ErrPassphraseNotFound ¶
type ErrPassphraseNotFound struct {
// contains filtered or unexported fields
}
func (*ErrPassphraseNotFound) Error ¶
func (e *ErrPassphraseNotFound) Error() string
type ErrPermissionsTooOpen ¶
type ErrPermissionsTooOpen struct {
// contains filtered or unexported fields
}
func (*ErrPermissionsTooOpen) Error ¶
func (e *ErrPermissionsTooOpen) Error() string
type ReadCounter ¶
type ReadCounter interface { Read(p []byte) (int, error) Close() error TotalReads() int TotalBytes() int64 }
func NewReadCounter ¶
func NewReadCounter(in io.Reader) ReadCounter
type WriteCounter ¶
type WriteCounter interface { Write(p []byte) (int, error) Close() error TotalWrites() int TotalBytes() int64 }
func NewWriteCounter ¶
func NewWriteCounter(out io.Writer) WriteCounter
Click to show internal directories.
Click to hide internal directories.