container

package
v0.0.0-...-ffefdcf Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	// contains filtered or unexported fields
}

func NewContainer

func NewContainer(
	log logger.Logger,
	masterPostgres, slavePostgres *sqlx.DB,
	redis *redis.Client,
	smtpClient *mail.SMTPClient,
	jwtKey,
	smtpMessageFrom string,
) *Container

func (*Container) CloseAllConnections

func (c *Container) CloseAllConnections()

func (*Container) GetAuthMiddleware

func (c *Container) GetAuthMiddleware() *middleware.AuthMiddleware

func (*Container) GetV1AuthHandler

func (c *Container) GetV1AuthHandler() *authhandler.AuthHandler

func (*Container) GetV1PharmacyHandler

func (c *Container) GetV1PharmacyHandler() *pharmacyhandler.Handler

func (*Container) GetV1PurchaseHandler

func (c *Container) GetV1PurchaseHandler() *purchasehandler.Handler

func (*Container) GetV1SwaggerHandler

func (c *Container) GetV1SwaggerHandler() *swaggerhandler.SwaggerHandler

func (*Container) GetV1UserHandler

func (c *Container) GetV1UserHandler() *userhandler.UserHandler

Jump to

Keyboard shortcuts

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