beater

package
v0.0.0-...-cd65591 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const C_INTERVAL = 60000 // every 10 minutes
View Source
const C_LIMIT = 10

Variables

This section is empty.

Functions

func New

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

New creates an instance of ciscoampbeat.

Types

type Ciscoamp

type Ciscoamp struct {
	NextURL       string
	LastQueryTime time.Time
	Offst         string
}

func (*Ciscoamp) GetEvents

func (ciscoamp *Ciscoamp) GetEvents(clientid string, apikey string) string

type Ciscoampbeat

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

Ciscoampbeat configuration.

func (*Ciscoampbeat) Run

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

Run starts ciscoampbeat.

func (*Ciscoampbeat) Stop

func (bt *Ciscoampbeat) Stop()

Stop stops ciscoampbeat.

Jump to

Keyboard shortcuts

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