redis

package
v0.2.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSettingWithLocalDefault

func GetSettingWithLocalDefault(key string, defaultValue string) string

DISCUSS: In some cases, we have default values, but we don't want to store it at global default settings. Naming is far from best, if Go allowed overloads, name GetSettingWithDefault would be more appropriate

func HandleStreamPush

func HandleStreamPush(uploader *Uploader, command []string)

Types

type Backup

type Backup struct {
	*internal.Backup
}

type Uploader

type Uploader struct {
	*internal.Uploader
}

func (*Uploader) UploadStream

func (uploader *Uploader) UploadStream(backupName string, stream io.Reader) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL