exporters

package
v0.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Load message buses

func RegisterExporter

func RegisterExporter(name string, factoryMethod func() exporters.Exporter)

RegisterExporter registers a new exporter

Types

type Registry

type Registry interface {
	CreateExporter(name string) (exporters.Exporter, error)
}

Registry is the interface for callers to get registered exporter components

func NewRegistry

func NewRegistry() Registry

NewRegistry returns a new exporter registry

Jump to

Keyboard shortcuts

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