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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideAuthService

func ProvideAuthService(service service.UserService, config env.ServiceConfig) service.AuthService

func ProvideDataService

func ProvideDataService(repository repo.UserRepository, remoteRepository repo.RemoteRepository, config env.ServiceConfig) service.UserService

func ProvideEndpointRouter

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

func ProvideGRPCGatewayHandler

func ProvideGRPCGatewayHandler(service service.UserService, authService service.AuthService,
	mailService service.MailService, interactService service.InteractService) *grpc.Handler

func ProvideInteractService

func ProvideInteractService(service service.UserService, likesRepo repo.LikesRepository) service.InteractService

func ProvideLikesRepository

func ProvideLikesRepository(config env.ServiceConfig) repo.LikesRepository

func ProvideMailService

func ProvideMailService(service service.UserService, repo repo.SubscriptionRepository, config env.ServiceConfig) service.MailService

func ProvideRESTGatewayHandler

func ProvideRESTGatewayHandler(service service.UserService, authService service.AuthService, mailService service.MailService,
	interactService service.InteractService, config env.ServiceConfig) *rest.Handler

func ProvideRemotesRepository

func ProvideRemotesRepository(config env.ServiceConfig) repo.RemoteRepository

func ProvideRepository

func ProvideRepository(config env.ServiceConfig) repo.UserRepository

func ProvideServer

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

func ProvideSubscriptionsRepository

func ProvideSubscriptionsRepository(config env.ServiceConfig) repo.SubscriptionRepository

Types

This section is empty.

Jump to

Keyboard shortcuts

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