backgroundtasks

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBackgroundTasks

func AddBackgroundTasks(builder *di.Builder)

AddBackgroundTasks adds service to the DI container

func AddCounterTaskConsumer

func AddCounterTaskConsumer(builder *di.Builder)

AddCounterTaskConsumer adds service to the DI container

func GetLocalCounter

func GetLocalCounter() int32

func IncrLocalCounter

func IncrLocalCounter()

Types

type IBackgroundTasks

type IBackgroundTasks interface {
}

func GetBackgroundTasksFromContainer

func GetBackgroundTasksFromContainer(ctn di.Container) IBackgroundTasks

type IConsumer

type IConsumer interface {
	GetTaskMessages() []*taskq.Message
}

Jump to

Keyboard shortcuts

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