Documentation ¶
Index ¶
- func ProvideAuthService(service service.UserService, config env.ServiceConfig) service.AuthService
- func ProvideDataService(repository repo.UserRepository, remoteRepository repo.RemoteRepository, ...) service.UserService
- func ProvideEndpointRouter(handler *rest.Handler) chi.Router
- func ProvideGRPCGatewayHandler(service service.UserService, authService service.AuthService, ...) *grpc.Handler
- func ProvideInteractService(service service.UserService, likesRepo repo.LikesRepository) service.InteractService
- func ProvideLikesRepository(config env.ServiceConfig) repo.LikesRepository
- func ProvideMailService(service service.UserService, repo repo.SubscriptionRepository, ...) service.MailService
- func ProvideRESTGatewayHandler(service service.UserService, authService service.AuthService, ...) *rest.Handler
- func ProvideRemotesRepository(config env.ServiceConfig) repo.RemoteRepository
- func ProvideRepository(config env.ServiceConfig) repo.UserRepository
- func ProvideServer(config env.ServiceConfig, router chi.Router, handler *grpc.Handler) core.Server
- func ProvideSubscriptionsRepository(config env.ServiceConfig) repo.SubscriptionRepository
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 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 ProvideSubscriptionsRepository ¶
func ProvideSubscriptionsRepository(config env.ServiceConfig) repo.SubscriptionRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.