models

package
v0.0.0-...-bc04850 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2018 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Driver   string                   `toml:"driver"`
	Redis    *RedisConfig             `toml:"redis"`
	Schedule map[string]*ScheduleItem `toml:"schedule"`
}

type RedisConfig

type RedisConfig struct {
	URL string `toml:"url"`
}

type ScheduleItem

type ScheduleItem struct {
	Period  string `toml:"period"`
	JobName string `toml:"job"`
	Queue   string `toml:"queue"`
	Retry   bool   `toml:"retry"`
}

Jump to

Keyboard shortcuts

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