2022-09-07 23:34:37 +08:00
|
|
|
package global
|
|
|
|
|
|
|
|
import (
|
2023-07-14 21:47:11 +08:00
|
|
|
"git.0x7f.app/WOJ/woj-server/internal/pkg/metrics"
|
2022-09-07 23:34:37 +08:00
|
|
|
"go.uber.org/zap"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Global struct {
|
2022-09-17 18:10:06 +08:00
|
|
|
Log *zap.Logger
|
|
|
|
Conf *Config
|
|
|
|
Stat *metrics.Metrics
|
|
|
|
Db Repo
|
|
|
|
Redis Repo
|
|
|
|
Jwt JwtService
|
2022-09-07 23:34:37 +08:00
|
|
|
}
|