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(config env.ServiceConfig) core.AuthService

func ProvideContentService

func ProvideContentService(repository repo.ContentRepository, config env.ServiceConfig) service.ContentService

func ProvideEndpointRouter

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

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

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