Documentation ¶
Index ¶
- func DBList()
- func Gorm() *gorm.DB
- func GormMysql() *gorm.DB
- func GormMysqlByConfig(m config.Mysql) *gorm.DB
- func GormPgSql() *gorm.DB
- func GormPgSqlByConfig(p config.Pgsql) *gorm.DB
- func InstallPlugin(Router *gin.Engine, InterfaceGroup *gin.RouterGroup, ...)
- func PluginInit(group *gin.RouterGroup, Plugin ...plugin.Plugin)
- func Redis()
- func RegisterTables(db *gorm.DB)
- func Routers() *gin.Engine
- func Timer()
- func TimerTaskCase()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GormMysql ¶
GormMysql Author [SliverHorn](https://github.com/SliverHorn)
func GormMysqlByConfig ¶
GormMysqlByConfig 初始化Mysql数据库用过传入配置
func GormPgSql ¶
GormPgSql Author [SliverHorn](https://github.com/SliverHorn)
func GormPgSqlByConfig ¶
GormPgSqlByConfig 初始化 Postgresql 数据库 通过参数
func InstallPlugin ¶
func InstallPlugin( Router *gin.Engine, InterfaceGroup *gin.RouterGroup, ApiConfigGroup *gin.RouterGroup, RunCaseGroup *gin.RouterGroup, reportGroup *gin.RouterGroup, apiCaseGroup *gin.RouterGroup, timerTaskGroup *gin.RouterGroup, performanceGroup *gin.RouterGroup, environmentGroup *gin.RouterGroup, )
func PluginInit ¶
func PluginInit(group *gin.RouterGroup, Plugin ...plugin.Plugin)
func TimerTaskCase ¶
func TimerTaskCase()
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.