longtermshipper

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shipper

type Shipper struct {
	// contains filtered or unexported fields
}

func New

func New(confCtx *config.Context) *Shipper

func (*Shipper) Close

func (s *Shipper) Close()

func (*Shipper) MarkFileToBeShipped

func (s *Shipper) MarkFileToBeShipped(fileToShip *wtypes.LongTermShippableFile, tx *transaction.EventstoreTransaction) error

func (*Shipper) RecoverUnfinishedShipments

func (s *Shipper) RecoverUnfinishedShipments(tx *transaction.EventstoreTransaction) error

func (*Shipper) Ship

func (s *Shipper) Ship(ltsf *wtypes.LongTermShippableFile, database *bolt.DB)

need DB reference so we can start transaction once the process finishes

Jump to

Keyboard shortcuts

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