# check_network **Repository Path**: coobar/check_network ## Basic Information - **Project Name**: check_network - **Description**: 简易版网络检测工具,定时检测某个接口是否正常,定时检测某个文件是否存在,间接证明网络状况 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-30 - **Last Updated**: 2025-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # check_network 检查网络通讯 ### build ``` [root@localhost]# git clone https://gitee.com/coobar/check_network.git [root@localhost]# cd check_network [root@localhost]# GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo -ldflags '-w' -o bin/client ./cmd/main.go [root@localhost]# docker build --file ./docker/Dockerfile --no-cache -t riverdance/check_network:latest . [root@localhost]# docker push riverdance/check_network:latest ``` ### run ``` [root@localhost]# vi etc/client.json [root@localhost]# vi docker/docker-compose.yml [root@localhost]# docker-compose -f ./docker/docker-compose.yml up -d ```