Documentation ¶
Index ¶
- func ProvideAuthService(config env.ServiceConfig) core.AuthService
- func ProvideDataService(repository repo.OrderRepository, pipe pipe.SneakerReferencePipe, ...) service.OrderService
- func ProvideEndpointRouter(handler *rest.Handler) chi.Router
- func ProvideGRPCGatewayHandler(service service.OrderService, auth core.AuthService) *gRPC.Handler
- func ProvideProductGRPCPipe(config env.ServiceConfig, service core.AuthService) pipe.SneakerProductPipe
- func ProvideProductRESTPipe(config env.ServiceConfig) pipe.SneakerProductPipe
- func ProvideRESTGatewayHandler(service service.OrderService, auth core.AuthService, config env.ServiceConfig) *rest.Handler
- func ProvideReferenceGRPCPipe(config env.ServiceConfig, service core.AuthService) pipe.SneakerReferencePipe
- func ProvideReferenceRESTPipe(auth core.AuthService, config env.ServiceConfig) pipe.SneakerReferencePipe
- func ProvideRepository(config env.ServiceConfig) repo.OrderRepository
- func ProvideServer(config env.ServiceConfig, router chi.Router, handler *gRPC.Handler) core.Server
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 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.