jobs

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2018 License: MIT Imports: 8 Imported by: 0

README

Spiral: Async Jobs and Queue

Latest Stable Version Build Status Codecov

Documentation

Index

Constants

View Source
const ID = "jobs"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled   bool
	Pipelines map[string]string
	Handlers  struct {
		Local *roadrunner.ServerConfig
	}
}

func (*Config) Hydrate

func (c *Config) Hydrate(cfg service.Config) error

func (*Config) Valid

func (c *Config) Valid() error

Valid validates the configuration.

type Service

type Service struct {
	Logger *logrus.Logger
	// contains filtered or unexported fields
}

func (*Service) Init

func (s *Service) Init(cfg *Config, r *rpc.Service) (ok bool, err error)

func (*Service) Serve

func (s *Service) Serve() error

func (*Service) Stop

func (s *Service) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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