constants

package
v0.0.0-...-64e3402 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SecretKey   = "secret key"
	IdentityKey = "user_id"

	UserServiceName = "user"
)

Variables

View Source
var (
	// MySQLDefaultDSN = "root:gorm@tcp(host.docker.internal:18000)/test_douyin?charset=utf8&parseTime=True&loc=Local"
	MySQLDefaultDSN = "gorm:gorm@tcp(localhost:18000)/fusion?charset=utf8&parseTime=True&loc=Local"
	// EtcdAddress = "host.docker.internal:2379"
	EtcdAddress = "localhost:2379"

	RedisAddress  = "localhost:18003"
	RedisPassword = ""
	DBIndex       = 0 // 使用默认的数据库
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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