loader

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLoader

func NewLoader(cfg *Cfg) schema.Loader

Types

type Cfg

type Cfg struct {
	Viper  *viper.Viper
	Logger log.Logger
}

type Loader

type Loader struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*Loader) FInit

func (l *Loader) FInit() error

func (*Loader) Init

func (l *Loader) Init() error

func (*Loader) Load

func (l *Loader) Load(pluginGenerators ...schema.NewPlugin) ([]schema.Plugin, error)

Jump to

Keyboard shortcuts

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