core

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: MIT Imports: 15 Imported by: 1

Documentation

Overview

Debug functions.

Index

Constants

This section is empty.

Variables

View Source
var CronJobs cronJobs

CronJobs provides a cron job engine for golang function callbacks to schedule events to execute at specific times of the day and week.

View Source
var Debug = core_debug{}
View Source
var Logger = core_logger
View Source
var TransactionLog string
View Source
var TransactionLogMutex *sync.RWMutex

Functions

func IsZeroOfUnderlyingType

func IsZeroOfUnderlyingType(x interface{}) bool

func IsZeroOfUnderlyingType2

func IsZeroOfUnderlyingType2(x interface{}) bool

Types

type CronJob

type CronJob struct {
}

CronJob entity provides details of the cron job to be executed.

type OnDemandEvent

type OnDemandEvent func(id string, eventTime time.Time, context interface{})

CronJobEvent is used as the callback function for the event.

type OneTimeEvent

type OneTimeEvent func() bool

type RecurringEvent

type RecurringEvent func(eventDate time.Time)

CronEvent is a callback function called by the cron job engine.

type RecurringType

type RecurringType int

RecurringType defines a type of cron job.

const (
	CRON_TOP_OF_MINUTE RecurringType = iota
	CRON_TOP_OF_HOUR
	CRON_TOP_OF_DAY
	CRON_TOP_OF_30_SECONDS
	CRON_TOP_OF_SECOND
)

Directories

Path Synopsis
app
api
api provides an API router and controller Registry to route controller api's.
api provides an API router and controller Registry to route controller api's.
Package atomicTypes provides object locking / unlocking for setting and getting.
Package atomicTypes provides object locking / unlocking for setting and getting.
cmdExec module
cron module
example Module
debouncer module
Package fileCache will provide simple file content caching tools for in-Memory access to files.
Package fileCache will provide simple file content caching tools for in-Memory access to files.
mongo module
path module
Package store provides a registry and interface to interact with a store repository against model entities.
Package store provides a registry and interface to interact with a store repository against model entities.
workQueue module

Jump to

Keyboard shortcuts

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