initialize

package
v0.0.0-...-cda82d8 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(f ExtInit)

Init 初始化

func InitConfig

func InitConfig()

InitConfig 加载配置 @title InitConfig @description 加载配置 @auth eric.zsp 时间(2021/03/04 16:04 )

func InitDB

func InitDB(initAdminUser bool)

InitDB 初始化数据库连接 @title InitDB @description 初始化数据库连接 @auth eric.zsp 时间(2021/03/04 16:04 ) @param initAdminUser bool "是否初始化默认用户"

func InitServer

func InitServer() *gin.Engine

func RegistorRouters

func RegistorRouters(Router *gin.Engine)

RegistorRouters 初始化总路由

Types

type ExtInit

type ExtInit func(*gin.Engine) bool

Jump to

Keyboard shortcuts

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