Versions in this module Expand all Collapse all v0 v0.20.1 Jan 13, 2024 v0.20.0 Jan 6, 2024 v0.19.5 Jan 4, 2024 v0.19.4 Jan 4, 2024 v0.19.3 Jan 4, 2024 v0.19.2 Jan 2, 2024 v0.19.1 Jan 1, 2024 v0.19.0 Dec 31, 2023 v0.18.0 Dec 27, 2023 v0.17.6 Dec 5, 2023 v0.17.4 Nov 17, 2023 Changes in this version + type Captcha struct + CaptchaTimeOut int + ImgHeight int + ImgWidth int + IsOpen int + KeyLong int + type Config struct + Captcha Captcha + Cors Cors + Jwt Jwt + Mysql Mysql + Redis Redis + Server Server + Zap Zap + type Cors struct + Mode string + Whitelist []CorsWhitelist + type CorsWhitelist struct + AllowCredentials bool + AllowHeaders string + AllowMethods string + AllowOrigin string + ExposeHeaders string + type Jwt struct + BufferTime string + ExpiresTime string + Issuer string + SigningKey string + type Mysql struct + Dsn string + LogLevel string + MaxIdleConns int + MaxOpenConns int + Prefix string + Singular bool + type Redis struct + Uri string + type Server struct + Addr string + Env string + LimitCountIp int + LimitTimeIp int + RouterPrefix string + UseMultipoint bool + UseRedis bool + type Zap struct + Compress bool + Format string + Level string + LogFile string + LogInConsole bool + MaxAge int + MaxBackup int + MaxSize int + OutputDir string + Prefix string + ShowLine bool + StacktraceKey string + WriteSync zapcore.WriteSyncer + func (z *Zap) CustomTimeEncoder(t time.Time, encoder zapcore.PrimitiveArrayEncoder) + func (z *Zap) GetCore() zapcore.Core + func (z *Zap) GetEncoder() zapcore.Encoder + func (z *Zap) GetEncoderConfig() zapcore.EncoderConfig + func (z *Zap) GetLog() *zap.Logger + func (z *Zap) GetLogLevel() zapcore.Level