Versions in this module Expand all Collapse all v0 v0.0.2 Feb 8, 2023 Changes in this version + func CreateZapOriginLogMessage(entry *zapcore.Entry, data map[string]interface{}) map[string]interface + type HookConfig struct + Host string + Key string + Password string + Port int + TTL int + type RedisHook struct + AppName string + Hostname string + LogstashFormat string + RedisHost string + RedisKey string + RedisPool *redis.Pool + RedisPort int + TTL int + func NewHook(config HookConfig) (redisHook *RedisHook, err error)