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

22 lines
503 B

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