task

package
v0.0.0-...-5845185 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(db *gorm.DB, user common.Hash, startBlock uint64, contract string, topics map[uint8]string) (bool, string)

Create - Attempts to create task entry in DB

func Disable

func Disable(db *gorm.DB, id string) bool

Disable - Given exisiting ( enabled ) task id, attempts to deactivate it

func Enable

func Enable(db *gorm.DB, id string) bool

Enable - Given exisiting ( disabled ) task id, attempts to activate it

Types

This section is empty.

Jump to

Keyboard shortcuts

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