job

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestJob

func TestJob(conf *config.Config)

func TestTimeoutJob

func TestTimeoutJob(conf *config.Config)

Types

type DistributeLockManager

type DistributeLockManager struct {
}

func NewDistributeLockManager

func NewDistributeLockManager() *DistributeLockManager

func (*DistributeLockManager) HasLock

func (manager *DistributeLockManager) HasLock() bool

func (*DistributeLockManager) TryLock

func (manager *DistributeLockManager) TryLock() error

func (*DistributeLockManager) TryUnLock

func (manager *DistributeLockManager) TryUnLock() error

type ServiceProvider

type ServiceProvider struct{}

func (ServiceProvider) Aggregates

func (j ServiceProvider) Aggregates() []infra.Provider

func (ServiceProvider) Boot

func (j ServiceProvider) Boot(app infra.Resolver)

func (ServiceProvider) Register

func (j ServiceProvider) Register(cc infra.Binder)

func (ServiceProvider) ShouldLoad

func (j ServiceProvider) ShouldLoad(c infra.FlagContext) bool

Jump to

Keyboard shortcuts

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