mongorepo

package module
v0.0.0-...-ca43ed7 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: MIT Imports: 3 Imported by: 0

README

mongorepo

It's project is a extension repository for dolphin, using mongodb to persist task status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MongoRepo

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

func NewMongoRepo

func NewMongoRepo(connStr string, dbName string, cltName string) MongoRepo

func (MongoRepo) GetAll

func (m MongoRepo) GetAll() ([]task.TaskStatus, error)

func (MongoRepo) InsertOrUpdate

func (m MongoRepo) InsertOrUpdate(ts task.TaskStatus) error

func (MongoRepo) RemoveLegacy

func (m MongoRepo) RemoveLegacy(newTs map[string]*task.EtlTask) error

Jump to

Keyboard shortcuts

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