collector

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPayload = errors.New("could not collect event, invalid payload")

Functions

func New

func New(conf config.Module) (strana.Module, error)

Types

type Collector

type Collector interface {
	strana.Source
}

type Options

type Options struct {
	Type       string             `json:"type" yaml:"type" mapstructure:"type"`
	Cache      config.Cache       `json:"cache" yaml:"cache" mapstructure:"cache"`
	Processors []config.Processor `json:"processors" yaml:"processors" mapstructure:"processors"`
}

type TrackingCollector

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

func (*TrackingCollector) Events

func (*TrackingCollector) Logger

func (c *TrackingCollector) Logger(l *logger.Logger)

func (*TrackingCollector) Routes

func (c *TrackingCollector) Routes(rtr fiber.Router) error

func (*TrackingCollector) Services

func (c *TrackingCollector) Services(s *store.SQLStore) error

func (*TrackingCollector) Subscribe

Jump to

Keyboard shortcuts

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