Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PricerSet = wire.NewSet(di.DefaultSet, rpc.InitServer, pkg_di.ReadConfig, newDiscountPolicy, newTaxPolicy, newPolicyNames, NewRunRPCServer, application.NewCartService, newCLIHandler, NewPricerService, )
PricerService =======================================================================================================
Functions ¶
Types ¶
type PricerService ¶
type PricerService struct { // Common Log logger.Logger Config *config.Config AutoMaxPro autoMaxPro.AutoMaxPro // Observability Tracer trace.TracerProvider Monitoring *monitoring.Monitoring PprofEndpoint profiling.PprofEndpoint // Application CartService *application.CartService // CLI CLIHandler *cli.CLIHandler // contains filtered or unexported fields }
func InitializePricerService ¶
func InitializePricerService() (*PricerService, func(), error)
func NewPricerService ¶
func NewPricerService( log logger.Logger, config2 *config.Config, autoMaxProcsOption autoMaxPro.AutoMaxPro, monitoring2 *monitoring.Monitoring, tracer trace.TracerProvider, pprofHTTP profiling.PprofEndpoint, run2 *run.Response, cartService *application.CartService, cliHandler *cli.CLIHandler, ) (*PricerService, error)
Click to show internal directories.
Click to hide internal directories.