Versions in this module Expand all Collapse all v1 v1.0.0 Jun 9, 2022 Changes in this version + var App = new(Application) + var Errors = CustomErrors + var NowUserID uint64 + type Application struct + Config config.Configuration + ConfigViper *viper.Viper + DB *gorm.DB + Log *zap.Logger + Redis *redis.Client + func (app *Application) Disk(disk ...string) storage.Storage + type CustomError struct + ErrorCode int + ErrorMsg string + type CustomErrors struct + BusinessError CustomError + FavoriteError CustomError + TokenError CustomError + ValidateError CustomError + type Interface interface + Block func(seconds int64) bool + ForceRelease func() + Get func() bool + Release func() bool + func Lock(name string, seconds int64) Interface