科工人 科工人
3年前
聊聊golang的DDD项目结构
序本文主要研究一下golang的DDD项目结构interfacesfoodappserver/interfacesinterfacesgit:(master)tree.|____fileupload||____fileformat.go||____fileupload.go|____food_handler.go|__
Easter79 Easter79
2年前
vue 打开弹框,底部页面禁止滑动
/\解决iphone页面层级相互影响滑动的问题\/closeTouch:_function_(){document.getElementsByTagName("body")\0\.addEventListener('touchmove',this.handler,{passive:false});//阻止默认事件},openT
九路 九路
3年前
Android HandlerThread源码解析
在上一章Handler源码解析文章中,我们知道App的主线程通过Handler机制完成了一个线程的消息循环。那么我们自己也可以新建一个线程,在线程里面创建一个Looper,完成消息循环,可以做一些定时的任务或者写日志的功能。这就是HandlerThread的作用AndroidHandler消息机制源码解析(https://www.cnblogs.co
Stella981 Stella981
2年前
CAT RuntimeException
Caused by: java.lang.RuntimeException: Duplicated name(home) found between handleInbound() of class com.dianping.cat.report.page.home.Handler and handleInbound() of c
Wesley13 Wesley13
2年前
C++ 11
std::terminate(); set_terminate,产生异常会调用该函数,默认是调用abortvoidhandler(){cout<<"error~~~~~~~~~~~~~~~~~~";}std::set_terminate(handler);//默认调用
Stella981 Stella981
2年前
Pipeline inbound(netty源码7)
netty源码死磕7Pipeline入站流程详解1\.Pipeline的入站流程在讲解入站处理流程前,先脑补和铺垫一下两个知识点:(1)如何向Pipeline添加一个Handler节点(2)Handler的出站和入站的区分方式1.1.HandlerContext节点的添加在
Stella981 Stella981
2年前
ERROR org.redisson.client.handler.CommandDecoder
一、异常出现的场景某一天下午,测试突然跑过来说,IOS系统APP访问500,Android没问题。我的第一反应是那就奇怪了,调的接口都是一样的,莫非和系统有关系。而且这个错误重启服务后,过一段时间才能出现。  通过抓接口,接口的请求参数和请求头也都没问题。异常信息如下:!(https://oscimg.oschi
Stella981 Stella981
2年前
Android Looper,Handler,Message分析
LooperLooper的构造方法是private的,不可以在外部生成Looper的实例.最重要的几个变量:ThreadLocal :静态的,保存所有线程及其所关联的Looper实例.可以理解为这是一个Map,保存了线程\Looper的所有键值对.这里可以获取到所有的线程及其关联的Looper对象.当我们需要生成一个支持消息循环特性的
可莉 可莉
2年前
10.fabric
2017112515:23:22grpcdefaultworkerELG23ERRORio.netty.handler.codec.http2.DefaultHttp2Connection:181CaughtThrowablefromlisteneronStreamActive.java.la
Stella981 Stella981
2年前
Netty 学习笔记(1)
服务端启动流程packagecom.example.netty;importcom.example.netty.handler.HelloServerHandler;importio.netty.bootstrap.ServerBootstrap;importio.netty.cha