Documentation ¶
Index ¶
Constants ¶
const EventsChannelName = "CoreDataEventsChannel"
EventsChannelName contains the name of the Events channel instance in the DIC.
Variables ¶
var ConfigurationName = di.TypeInstanceToName(config.ConfigurationStruct{})
ConfigurationName contains the name of data's config.ConfigurationStruct implementation in the DIC.
var MessagingClientName = di.TypeInstanceToName((*messaging.MessageClient)(nil))
MessagingClientName contains the name of the messaging client instance in the DIC.
var MetadataDeviceClientName = "MetadataDeviceClient"
MetadataDeviceClientName contains the name of the Metadata device client instance in the DIC.
Functions ¶
func ConfigurationFrom ¶
func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
ConfigurationFrom helper function queries the DIC and returns datas's config.ConfigurationStruct implementation.
func MessagingClientFrom ¶
func MessagingClientFrom(get di.Get) messaging.MessageClient
MessagingClientFrom helper function queries the DIC and returns the messaging client.
func MetadataDeviceClientFrom ¶
func MetadataDeviceClientFrom(get di.Get) metadata.DeviceClient
MetadataDeviceClientFrom helper function queries the DIC and returns the Metadata device client instance.
func PublisherEventsChannelFrom ¶
PublisherEventsChannelFrom helper function queries the DIC and returns the Events channel instance used for publishing over the channel.
NOTE If there is a need to obtain a consuming version of the channel create a new helper function which will get the channel from the container and cast it to a consuming channel. The type casting will aid in avoiding errors by restricting functionality.
Types ¶
This section is empty.