manager

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager represents DataSource manager

func New

func New(logger *zap.Logger) *Manager

New creates new DataSource manager

func (*Manager) Get

func (m *Manager) Get() []modules.Module

Get all datasources

func (*Manager) Init

func (m *Manager) Init(cfg *datasources.DataSources) error

Init the DataSource manager

func (*Manager) Stop

func (m *Manager) Stop()

Stop all datasources

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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