shifts

package
v0.0.0-...-36bd02b Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ShiftsConfig

type ShiftsConfig struct {
	Enabled       bool   `json:"enabled"`
	LongInterval  string `json:"longInterval"`
	ShortInterval string `json:"shortInterval"`
	FlushInterval string `json:"flushInterval"`
	KeepLong      string `json:"keepLong"`
	KeepShort     string `json:"keepShort"`
}

type ShiftsProcessor

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

func NewShiftsProcessor

func NewShiftsProcessor(cfg *ShiftsConfig, backend *storage.RedisClient) *ShiftsProcessor

func (*ShiftsProcessor) Start

func (u *ShiftsProcessor) Start()

Jump to

Keyboard shortcuts

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