
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
1、强制杀死该端口进程sudo fuser -k -n tcp 802、根据PID关闭某个被占用的端口netstat -tunlp| grep 80lsof -i:80sudo kill -9 PID...
安装redigo扩展go get -v github.com/gomodule/redigo/redispackage redisimport ("context""fmt""github.com/opentracing/opentracing-go""strconv""strings""time""why/config""why/log""...
go get github.com/streadway/amqp封装生产者和消费者:package rabbitmqimport ("context""fmt""github.com/opentracing/opentracing-go""github.com/streadway/amqp"srcLog "log""time""why/config"...
源码安装GoLang进入:https://golang.google.cn/dl/下载:wgethttps://golang.google.cn/dl/go1.14.6.darwin-amd64.tar.gz安装:tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz配置环境变量:vim ~/.bash_profileexport GOROOT=/us

package traceimport ("net/http""net/url""time""why/log""github.com/gin-gonic/gin"opentracing "github.com/opentracing/opentracing-go""github.com/opentracing/opentracing-go/ext")con...
https://github.com/air-go/rpc

安装和配置安装redis服务和php-redis扩展:https://blog.csdn.net/why444216978/article/details/83659776主从复制:https://blog.csdn.net/why444216978/article/details/100170179封装服务类RedisService.php<?phpclass Red...
上代码log.gopackage mainimport ("encoding/json""fmt""github.com/gin-gonic/gin""io""os""path""path/filepath""strings""time")//根据时间检测目录,不存在则创建func CreateDateDir(Path string) str...
Kafka简介及使用PHP处理Kafka消息Kafka 是一种高吞吐的分布式消息系统,能够替代传统的消息队列用于解耦合数据处理,缓存未处理消息等,同时具有更高的吞吐率,支持分区、多副本、冗余,因此被广泛用于大规模消息数据处理应用。Kafka的特点:以时间复杂度为O(1)的方式提供消息持久化能力,即使对TB级以上数据也能保证常数时间复杂度的访问性能。高吞吐率。即使在非常廉价的...







