beater

package
v0.0.0-...-25e85bb Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New creates a beat

Types

type Nsqbeat

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

Nsqbeat struct

func (*Nsqbeat) Run

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

Run starts nsq consumer and publishs messages to beat

func (*Nsqbeat) Stop

func (bt *Nsqbeat) Stop()

Stop gracefully shutdown

Jump to

Keyboard shortcuts

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