cron

package
v0.0.0-...-791dfb5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

DB instance

Functions

func AutoLoanDisburseConfirm

func AutoLoanDisburseConfirm() func()

AutoLoanDisburseConfirm confirms loan disburse status

Types

type Cron

type Cron struct {
	Cron *cron.Cron
	TZ   string
	Time string
}

Cron main type

func (*Cron) Entries

func (c *Cron) Entries() []cron.Entry

Entries returns cron entries

func (*Cron) New

func (c *Cron) New()

New cron

func (*Cron) Start

func (c *Cron) Start()

Start cron

func (*Cron) Stop

func (c *Cron) Stop()

Stop cron

Jump to

Keyboard shortcuts

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