factory

package
v0.0.0-...-04ccc7c Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: AGPL-3.0 Imports: 14 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.SneakerProductRepository, auth core.AuthService, config env.ServiceConfig) service.SneakerProductService

func ProvideEndpointRouter

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

func ProvideGRPCGatewayHandler

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

func ProvideRESTGatewayHandler

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

func ProvideRepository

func ProvideRepository(config env.ServiceConfig) repo.SneakerProductRepository

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