db

package
v0.0.0-...-81d5466 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobRepository

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

func NewJobRepository

func NewJobRepository(dbPath string) (*JobRepository, error)

func (*JobRepository) Close

func (repo *JobRepository) Close() error

func (*JobRepository) FindById

func (repo *JobRepository) FindById(id string) (jobs.Job, error)

func (*JobRepository) List

func (repo *JobRepository) List() ([]jobs.Job, error)

func (*JobRepository) Save

func (repo *JobRepository) Save(job *jobs.Job) error

Jump to

Keyboard shortcuts

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