互联网运维 firewalld –permanent 添加规则后 reboot 失效的 firewall-cmd –reload 坑 firewalld –permanent 规则 reboot 后消失,主因是未执行 firewal […]
后端开发 如何在Golang中配置Redis开发环境_Golang Redis集成与开发配置方法 应使用 github.com/go-redis/redis/v9,它活跃维护、支持 go modules 且强 […]...
互联网运维 时间跳跃导致证书失效的 chrony makestep threshold 与 hwclock -systohc chrony makestep 仅在全新启动时对超 1 秒时间跳跃生效,热重载不触发;需用 systemctl […]...
后端开发 Golang Web应用中的依赖注入实践_使用Wire工具解耦代码 wire 是编译期依赖注入工具,通过生成硬编码初始化代码避免运行时类型断言失败、循环依赖延迟报错等问题,解决手 […]...