factory

package
v0.0.0-...-87b546a Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 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) service.AuthService

func ProvideDataService

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

func ProvideEndpointRouter

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

func ProvideGRPCGatewayHandler

func ProvideGRPCGatewayHandler(service service.OrderService, auth service.AuthService, config env.ServiceConfig) *gRPC.Handler

func ProvideProductGRPCPipe

func ProvideProductGRPCPipe(config env.ServiceConfig) pipe.SneakerProductPipe

func ProvideProductRESTPipe

func ProvideProductRESTPipe(config env.ServiceConfig) pipe.SneakerProductPipe

func ProvideRESTGatewayHandler

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

func ProvideReferenceGRPCPipe

func ProvideReferenceGRPCPipe(config env.ServiceConfig) pipe.SneakerReferencePipe

func ProvideReferenceRESTPipe

func ProvideReferenceRESTPipe(auth service.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