container

package
v0.0.0-...-0231498 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2019 License: Apache-2.0 Imports: 1 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 {
	// contains filtered or unexported fields
}

func New

func New() *Container

func (*Container) Invoke

func (c *Container) Invoke(fn interface{}, opts ...InvokeOption) error

func (*Container) Provide

func (c *Container) Provide(ctor interface{}, opts ...ProvideOption) error

type InvokeOption

type InvokeOption interface {
}

type ProvideOption

type ProvideOption interface {
}

ProviderOption a provideOption modifies the default behavior of Provide.

Jump to

Keyboard shortcuts

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