container

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 8 Imported by: 127

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Container *dig.Container = dig.New()
	Cancel    context.CancelFunc
)

Functions

func AddCloseAble

func AddCloseAble(c func())

func Close

func Close()

Types

type ProviderContainer

type ProviderContainer struct {
	Provider func(...opt.Option) error
	Options  []opt.Option
}

type Providers

type Providers []ProviderContainer

func (Providers) Provide

func (p Providers) Provide(config *viper.Viper) error

func (Providers) With

func (p Providers) With(pcs ...Providers) Providers

Jump to

Keyboard shortcuts

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