You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/global/setting.go

23 lines
545 B

3 years ago
package global
import (
"sync"
"github.com/rocboss/paopao-ce/pkg/setting"
3 years ago
"github.com/sirupsen/logrus"
)
var (
ServerSetting *setting.ServerSettingS
AppSetting *setting.AppSettingS
RuntimeSetting *setting.RuntimeSettingS
3 years ago
DatabaseSetting *setting.DatabaseSettingS
RedisSetting *setting.RedisSettingS
SearchSetting *setting.SearchSettingS
AliossSetting *setting.AliossSettingS
JWTSetting *setting.JWTSettingS
LoggerSetting *setting.LoggerSettingS
Logger *logrus.Logger
Mutex *sync.Mutex
)