Documentation
¶
Index ¶
- func ProvideArticleHandler(repo repository.ArticlesRepo) *http.ArticleHandler
- func ProvideArticleRepository(mc *mongo.Client) repository.ArticlesRepo
- func ProvideBackOfficeServer() *echo.Echo
- func ProvideMongoClient(ctx context.Context) (*mongo.Client, error)
- func ProvideServer(h *http.ArticleHandler) *echo.Echo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideArticleHandler ¶
func ProvideArticleHandler(repo repository.ArticlesRepo) *http.ArticleHandler
func ProvideArticleRepository ¶
func ProvideArticleRepository(mc *mongo.Client) repository.ArticlesRepo
func ProvideBackOfficeServer ¶
func ProvideBackOfficeServer() *echo.Echo
func ProvideServer ¶
func ProvideServer(h *http.ArticleHandler) *echo.Echo
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.