extractors

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdapterFactories = &adapterFactoryExt{
	newExtensionPoint(new(AdapterFactory)),
}

Functions

func Register

func Register(component interface{}, name string) []string

func Unregister

func Unregister(name string) []string

Types

type AdapterFactory

type AdapterFactory interface {
	New(serviceName string) ExtractorAdapter
}

type Bridge

type Bridge struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(serviceName string) (*Bridge, error)

func (*Bridge) Extract

func (b *Bridge) Extract(message []byte) map[string]string

type ExtractorAdapter

type ExtractorAdapter interface {
	// contains filtered or unexported methods
}

type Factory

type Factory struct{}

func (*Factory) New

func (f *Factory) New(serviceName string) ExtractorAdapter

type GrafanaAdapter

type GrafanaAdapter struct{}

Jump to

Keyboard shortcuts

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