# go_log **Repository Path**: phper95/go_log ## Basic Information - **Project Name**: go_log - **Description**: 基于Golang协程实现流量统计系统 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-10-20 - **Last Updated**: 2022-07-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # go_log #### 项目介绍 基于Golang协程实现流量统计系统 #### 软件架构 logproxess[a] == 解析,写入 == infludb[b] == 展现 == grafana #### 安装教程 1. 添加局部依赖支持 Go 1.6以上版本默认开启 GO15VENDOREXPERIMENT 环境变量,可忽略该步骤。 通过设置环境变量 GO15VENDOREXPERIMENT=1 使用vendor文件夹构建文件。 可以选择 export GO15VENDOREXPERIMENT=1 或 GO15VENDOREXPERIMENT=1 go build 执行编译 export GO15VENDOREXPERIMENT=1 #### 使用说明 1. 批量生成日志 ``` 配置好gopath touch /tmp/access.log cd gopath/LogCreator go run run.go --total=10000 --filePath=/tmp/access.log ``` 2. xxxx 3. xxxx #### 参与贡献 1. Fork 本项目 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request