Documentation ¶
Index ¶
- func ProvideAuthService(config env.ServiceConfig) core.AuthService
- func ProvideContentService(repository repo.ContentRepository, config env.ServiceConfig) service.ContentService
- func ProvideEndpointRouter(handler *rest.Handler) chi.Router
- func ProvideGRPCGatewayHandler(service service.ContentService, auth core.AuthService) *gRPC.Handler
- func ProvideGatewayHandler(service service.ContentService, auth core.AuthService) *rest.Handler
- func ProvideRepository(config env.ServiceConfig) repo.ContentRepository
- 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 ProvideContentService ¶
func ProvideContentService(repository repo.ContentRepository, config env.ServiceConfig) service.ContentService
func ProvideGRPCGatewayHandler ¶
func ProvideGRPCGatewayHandler(service service.ContentService, auth core.AuthService) *gRPC.Handler
func ProvideGatewayHandler ¶
func ProvideGatewayHandler(service service.ContentService, auth core.AuthService) *rest.Handler
func ProvideRepository ¶
func ProvideRepository(config env.ServiceConfig) repo.ContentRepository
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.