Documentation ¶
Index ¶
Constants ¶
View Source
const BoxOverhead = 24 + secretbox.Overhead // nonce+mac
Variables ¶
View Source
var ErrAuth = errors.New("integrity check failure")
Functions ¶
func IsNotExist ¶
Types ¶
type Bucket ¶
type Bucket interface { Abs(key string) string Put(key string, data []byte) error Get(key string) ([]byte, error) List() (keys, children []string, err error) Descend(child string) (Bucket, error) Destroy() error }
func NewFileBucket ¶
func NewRecoverableBucket ¶
func NewRecoverableBucket(b Bucket, log *PromptLogger) Bucket
func NewS3Bucket ¶
func NewS3BucketFromFile ¶
type PromptLogger ¶
func (*PromptLogger) Printf ¶
func (l *PromptLogger) Printf(format string, v ...interface{})
func (*PromptLogger) Retry ¶
func (l *PromptLogger) Retry(format string, v ...interface{}) bool
Click to show internal directories.
Click to hide internal directories.