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 ¶
CronJobEvent is used as the callback function for the event.
type OneTimeEvent ¶
type OneTimeEvent func() bool
type RecurringEvent ¶
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 |
---|---|
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
|
|
example/models/v1/model
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
|
|
Click to show internal directories.
Click to hide internal directories.