infrastructure

package
Version: v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ServiceName ..
	ServiceName = "onboarding"

	// TopicVersion ...
	TopicVersion = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Infrastructure

type Infrastructure struct {
	Database   database.Repository
	Engagement engagement.ServiceEngagement
	Pubsub     pubsubmessaging.ServicePubSub
}

Infrastructure is an implementation of the infrastructure interface It combines each individual service implementation

func NewInfrastructureInteractor

func NewInfrastructureInteractor() Infrastructure

NewInfrastructureInteractor initializes a new infrastructure interactor

Jump to

Keyboard shortcuts

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