di

package
v0.0.0-...-9eb387d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Container = dig.New()
)

Functions

func NewEcho

func NewEcho() (*echo.Echo, error)

func NewLogger

func NewLogger() (*log.Logger, error)

func NewNSQProducer

func NewNSQProducer(conf *config.Config) (np *pkg.NSQProducer, err error)

func NewPostgres

func NewPostgres(conf *config.Config) (*gorm.DB, error)

func NewRedis

func NewRedis(config *config.Config) *redis.Client

func NewStorage

func NewStorage(cfg *config.Config) (*pkg.Storage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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