bootstrap

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

* @Author: alexander.huang * @Date: 2022-05-18 18:12:11 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

* @Author: alexander.huang * @Date: 2022-05-18 21:13:30 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

* @Author: alexander.huang * @Date: 2022-05-18 20:21:31 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

* @Author: alexander.huang * @Date: 2022-05-19 01:14:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

* @Author: alexander.huang * @Date: 2022-05-19 01:14:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

* @Author: alexander.huang * @Date: 2022-05-25 22:53:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-25 22:53:50

* @Author: alexander.huang * @Date: 2022-05-19 20:14:50 * @Last Modified by: alexander.huang * @Last Modified time: 2022-05-23 21:40:51

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() gin.HandlerFunc

跨域中间件

func InitializeConfig

func InitializeConfig() *viper.Viper

func InitializeDB

func InitializeDB() *gorm.DB

func InitializeLog

func InitializeLog() *zap.Logger

func InitializeRedis

func InitializeRedis() *redis.Client

func InitializeStorage

func InitializeStorage()

func InitializeValidator

func InitializeValidator()

func RunServer

func RunServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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