dbhelper

package
Version: v1.2.7 Latest Latest
Warning

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

Go to latest
Published: May 18, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBHelperWorker

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

func NewWorker

func NewWorker(
	config config.Config,
	db *gorm.DB,
) *DBHelperWorker

func (*DBHelperWorker) CreateTask

func (helper *DBHelperWorker) CreateTask(task *dbmodel.Task) error

func (*DBHelperWorker) UpdateJob

func (helper *DBHelperWorker) UpdateJob(job *dbmodel.Job) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL