helper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallJobFuncWithParams

func CallJobFuncWithParams(jobFunc interface{}, params []interface{}) ([]reflect.Value, error)

CallJobFuncWithParams call a function with parameters

func GetFunctionHashedKey

func GetFunctionHashedKey(functionName string) string

GetFunctionHashedKey create a unique key for a function

func GetFunctionName

func GetFunctionName(functionName interface{}) string

GetFunctionName get the name of the function

func NextTick

func NextTick() *time.Time

NextTick returns a pointer to a time that will run at the next tick

func TimeFormat

func TimeFormat(time string) (h, m, s int, err error)

TimeFormat create a standard time format for scheduler

Types

This section is empty.

Jump to

Keyboard shortcuts

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