# redis-template **Repository Path**: no_pop/redis-template ## Basic Information - **Project Name**: redis-template - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-02-12 - **Last Updated**: 2025-02-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # redis-template #### 介绍 本项目仿照Spring的RedisTemplate,作为自己的练手项目 #### 软件架构 使用Netty作为网络通讯 #### 使用说明 1.使用maven打包项目到本地依赖 ![输入图片说明](https://foruda.gitee.com/images/1740051762648512394/13c758cb_12385270.png "屏幕截图") 2.在自己的项目中引入依赖(本项目提供test模块测试) ![输入图片说明](https://foruda.gitee.com/images/1740051839941320487/a7ba0cb3_12385270.png "屏幕截图") 3.配置redisTemplate,注册为Bean(注意导包) ![输入图片说明](https://foruda.gitee.com/images/1740051931814641533/a4d0d5fa_12385270.png "屏幕截图") 4.再resource目录下建立application.properties文件,并配置redis配置 ![输入图片说明](https://foruda.gitee.com/images/1740052012208293597/7f50f793_12385270.png "屏幕截图") 5.依赖注入redisTemplate,即可正常使用。 ![输入图片说明](https://foruda.gitee.com/images/1740052048306164587/3b49b84d_12385270.png "屏幕截图")