ioc

package
v0.0.0-...-c234f5e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

控制反转

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDB

func InitDB() *gorm.DB

func InitGinMiddlewares

func InitGinMiddlewares(redisClient redis.Cmdable) []gin.HandlerFunc

func InitRedis

func InitRedis() redis.Cmdable

func InitSMSService

func InitSMSService() sms.Service

func InitWebServer

func InitWebServer(middlewares []gin.HandlerFunc, userHandler web.UserHandler) *gin.Engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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