dumper

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongodump

type Mongodump struct {
	*MongodumpInput
	// contains filtered or unexported fields
}

func NewMongodump

func NewMongodump(i *MongodumpInput) (*Mongodump, error)

func (*Mongodump) LastError

func (md *Mongodump) LastError() error

func (*Mongodump) Start

func (md *Mongodump) Start() error

func (*Mongodump) Stop

func (md *Mongodump) Stop() error

func (*Mongodump) Wait

func (md *Mongodump) Wait() error

type MongodumpInput

type MongodumpInput struct {
	Archive  string
	Host     string
	Port     string
	Username string
	Password string
	AuthDB   string
	Gzip     bool
	Oplog    bool
	Threads  int
	Writer   io.WriteCloser
}

Jump to

Keyboard shortcuts

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