package
Version:
v0.0.0-...-0b911c8
Opens a new window with list of versions in this module.
Published: Jul 10, 2020
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
- Variables
-
func InitAuth() (auth.Auther, func(), error)
-
func InitCasbin(adapter persist.Adapter) (*casbin.SyncedEnforcer, func(), error)
-
func InitGormDB() (*gorm.DB, func(), error)
-
func InitMongo() (*mongo.Client, func(), error)
-
func NewGormDB() (*gorm.DB, func(), error)
-
type Injector
Injector 注入器(用于初始化完成之后的引用)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.