config

package
v0.0.0-...-1d449cf Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB
View Source
var PORT string
View Source
var RDB *redis.Client
View Source
var RedisDb int
View Source
var RedisUrl, RedisPwd string

Functions

func CorsConfig

func CorsConfig() gin.HandlerFunc

func InitRedis

func InitRedis()

Types

This section is empty.

Jump to

Keyboard shortcuts

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