servicecontainer

package
v0.0.0-...-ebc0203 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceContainer

type ServiceContainer struct {
	FactoryMap map[string]interface{}
	AppConfig  *config.AppConfig
}

func (*ServiceContainer) BuildUseCase

func (sc *ServiceContainer) BuildUseCase(code string) (interface{}, error)

func (*ServiceContainer) Get

func (sc *ServiceContainer) Get(code string) (interface{}, bool)

func (*ServiceContainer) Put

func (sc *ServiceContainer) Put(code string, value interface{})

Jump to

Keyboard shortcuts

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