# etcd_oper **Repository Path**: gm2022/etcd_oper ## Basic Information - **Project Name**: etcd_oper - **Description**: 1. 使用go语言操作etcd 2. 使用docker-compose快速搭建etcd集群环境 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2025-03-25 - **Last Updated**: 2025-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # etcd_oper #### 介绍 - 使用go语言操作etcd - 使用docker-compose快速搭建etcd集群环境 #### 使用 - 可使用etcd-docker-compose快速搭建一套etcd集群环境 ```` - docker network create --driver bridge --subnet 172.62.0.0/16 --gateway 172.62.0.1 etcd-cluster - docker-compose -f etcd-docker-compose.yml up -d ```` - 初始化 ```` - go mod init lee/etcd_oper - go mod tidy ```` - 具体操作查看main方法 - 附带web工具etcdkeeper localhost:8081 ![img.png](img.png) #### 作者 lee #### 捐助 如果您觉得我们的开源软件对你有所帮助,请扫下方二维码打赏我们一杯咖啡。 ![](zfb.jpg)