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.
Click to show internal directories.
Click to hide internal directories.