gearman

package
v0.0.0-...-61829c1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GearmanConsumer

type GearmanConsumer struct {
	// contains filtered or unexported fields
}

func NewGearmanConsumer

func NewGearmanConsumer(info constants.ConnectionInfo) *GearmanConsumer

func (*GearmanConsumer) RegisterChannel

func (b *GearmanConsumer) RegisterChannel(channel string, processor constants.TaskProcessor) error

func (*GearmanConsumer) Stop

func (b *GearmanConsumer) Stop()

func (*GearmanConsumer) Work

func (b *GearmanConsumer) Work()

type GearmanProducer

type GearmanProducer struct {
	// contains filtered or unexported fields
}

func NewGearmanProducer

func NewGearmanProducer(info constants.ConnectionInfo) *GearmanProducer

func (*GearmanProducer) SendTask

func (c *GearmanProducer) SendTask(task *constants.Task) error

func (*GearmanProducer) Stop

func (c *GearmanProducer) Stop()

Jump to

Keyboard shortcuts

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