database

package
Version: v0.0.0-...-506b656 Latest Latest
Warning

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

Go to latest
Published: May 16, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

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

func NewDB

func NewDB(config *configuration.Configuration) *DB

func (*DB) BaseDir

func (db *DB) BaseDir(dirType DirType) string

func (*DB) Init

func (db *DB) Init() error

func (*DB) TaskData

func (db *DB) TaskData(dirType DirType, id string) string

func (*DB) TaskDir

func (db *DB) TaskDir(dirType DirType, id string) string

type DirType

type DirType int
const (
	TaskNew DirType = iota
	TaskQueue
	TaskProcessing
	TaskDone
	TaskFailed
	TaskCache
)

Source Files

Jump to

Keyboard shortcuts

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