service

package
v0.0.0-...-957fd5e Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeviceIdExistsValidator

func DeviceIdExistsValidator(repository domain.MobileDeviceRepository) validator.Func

Types

type MobileModule

type MobileModule struct {
	Cqrs          *app.Cqrs
	RoutesHandler *ports.RoutesHandler
	Config        config.Configuration
	Redis         *redis.Client
}

func NewMobileModule

func NewMobileModule(config config.Configuration, gorm *gorm.DB, database *sql.DB, validate *validator.Validate, redisClient *redis.Client) *MobileModule

func (*MobileModule) RegisterAdminRoutes

func (m *MobileModule) RegisterAdminRoutes(g *gin.RouterGroup)

func (*MobileModule) RegisterPublicRoutes

func (m *MobileModule) RegisterPublicRoutes(router *gin.Engine)

Jump to

Keyboard shortcuts

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