oms_di

package
v0.0.0-...-bb960d5 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

OMSService ==========================================================================================================

Functions

func NewRunRPCServer

func NewRunRPCServer(runRPCServer *rpc.Server, _ *v1.CartRPC) (*run.Response, error)

TODO: refactoring. maybe drop this function

Types

type OMSService

type OMSService struct {
	// Common
	Log        logger.Logger
	Config     *config.Config
	AutoMaxPro autoMaxPro.AutoMaxPro

	// Observability
	Tracer        trace.TracerProvider
	Monitoring    *monitoring.Monitoring
	PprofEndpoint profiling.PprofEndpoint
	// contains filtered or unexported fields
}

func InitializeOMSService

func InitializeOMSService() (*OMSService, func(), error)

func NewOMSService

func NewOMSService(

	log logger.Logger, config2 *config.Config, autoMaxPro2 autoMaxPro.AutoMaxPro, monitoring2 *monitoring.Monitoring,
	tracer trace.TracerProvider,
	pprofHTTP profiling.PprofEndpoint,

	authPermission *authzed.Client, run2 *run.Response,
	cartRPCServer *v1.CartRPC,
	orderRPCServer *v1_2.OrderRPC,

	temporalClient client.Client,
) (*OMSService, error)

Jump to

Keyboard shortcuts

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