beater

package
v0.0.0-...-e75ec8f Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2017 License: Apache-2.0 Imports: 12 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)

Creates beater

Types

type KrakenHTTPClient

type KrakenHTTPClient struct{}

func (*KrakenHTTPClient) Poll

func (k *KrakenHTTPClient) Poll(pairs []string, lastPolls map[string]time.Time) (KrakenTransactions, error)

type KrakenTransactions

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

type Krakenbeat

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

func (*Krakenbeat) Run

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

func (*Krakenbeat) Stop

func (bt *Krakenbeat) Stop()

type Krakenclient

type Krakenclient interface {
	Poll(pairs []string, since map[string]time.Time) (KrakenTransactions, error)
}

Jump to

Keyboard shortcuts

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