loader

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

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

type Loader

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

func NewLoader

func NewLoader(fn func(*Cfg)) *Loader

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.NewPlug) ([]schema.Plug, error)

Jump to

Keyboard shortcuts

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