job

package
v0.8.15 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(path string) error

Initialize implementation of job service

Types

type Service

type Service interface {
	FindBy(id job.ID) (*job.Job, error)
	Start(id job.ID) error
	Append(id job.ID, line job.LogLine) error
	Finish(id job.ID) error
}

Service represents job service

func GetInstance

func GetInstance() (Service, error)

GetInstance returns job service

Directories

Path Synopsis
Package mock_job_service is a generated GoMock package.
Package mock_job_service is a generated GoMock package.

Jump to

Keyboard shortcuts

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