factory

package
v0.0.0-...-4a3359c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideAuthService

func ProvideAuthService(config env.ServiceConfig) core.AuthService

func ProvideDataService

func ProvideDataService(repository repo.OrderRepository, pipe pipe.SneakerReferencePipe, auth core.AuthService, config env.ServiceConfig) service.OrderService

func ProvideEndpointRouter

func ProvideEndpointRouter(handler *rest.Handler) chi.Router

func ProvideGRPCGatewayHandler

func ProvideGRPCGatewayHandler(service service.OrderService, auth core.AuthService) *gRPC.Handler

func ProvideProductGRPCPipe

func ProvideProductGRPCPipe(config env.ServiceConfig, service core.AuthService) pipe.SneakerProductPipe

func ProvideProductRESTPipe

func ProvideProductRESTPipe(config env.ServiceConfig) pipe.SneakerProductPipe

func ProvideRESTGatewayHandler

func ProvideRESTGatewayHandler(service service.OrderService, auth core.AuthService, config env.ServiceConfig) *rest.Handler

func ProvideReferenceGRPCPipe

func ProvideReferenceGRPCPipe(config env.ServiceConfig, service core.AuthService) pipe.SneakerReferencePipe

func ProvideReferenceRESTPipe

func ProvideReferenceRESTPipe(auth core.AuthService, config env.ServiceConfig) pipe.SneakerReferencePipe

func ProvideRepository

func ProvideRepository(config env.ServiceConfig) repo.OrderRepository

func ProvideServer

func ProvideServer(config env.ServiceConfig, router chi.Router, handler *gRPC.Handler) core.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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