container

package
v1.2.2-dev.5 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ConfigurationName contains the name of the service's config.ConfigurationStruct implementation in the DIC.

View Source
var PersistenceInterfaceName = di.TypeInstanceToName((*interfaces.Persistence)(nil))

PersistenceInterfaceName contains the name of the interfaces.Persistence implementation in the DIC.

Functions

func ConfigurationFrom

func ConfigurationFrom(get di.Get) *config.ConfigurationStruct

ConfigurationFrom helper function queries the DIC and returns the service's config.ConfigurationStruct implementation.

func PersistenceInterfaceFrom

func PersistenceInterfaceFrom(get di.Get) interfaces.Persistence

PersistenceInterfaceFrom helper function queries the DIC and returns the interfaces.Persistence implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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