beater

package
v0.0.0-...-38b46e5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2016 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	STATEFILE_NAME         = "cloudflarebeat.state"
	OFFSET_PAST_MINUTES    = 30
	TOTAL_LOGFILE_SEGMENTS = 6
)

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

Creates beater

Types

type Cloudflarebeat

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

func (*Cloudflarebeat) DownloadAndPublish

func (bt *Cloudflarebeat) DownloadAndPublish(timeNow int, timeStart int, timeEnd int)

func (*Cloudflarebeat) Run

func (bt *Cloudflarebeat) Run(b *beat.Beat) error

func (*Cloudflarebeat) Stop

func (bt *Cloudflarebeat) Stop()

Jump to

Keyboard shortcuts

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