container

package
Version: v0.0.0-...-571f2ff Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

func NewContainer

func NewContainer(viper *viper.Viper) Container

func (*Container) Add

func (p *Container) Add(plugins []schema.Plugin) errors.Error

func (*Container) FInit

func (p *Container) FInit() errors.Error

func (*Container) Get

func (p *Container) Get(pluginNames ...string) ([]schema.Plugin, errors.Error)

func (*Container) Init

func (p *Container) Init() errors.Error

func (*Container) Remove

func (p *Container) Remove(pluginName string) errors.Error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL