golang后端graphql接口

Posted by 夏泽民

1 创建scripts/gqlgen.go package main import “github.com/99designs/gqlgen/cmd” func main() { cmd.Execute() }



Curl命令的data data-ascii data-binary data-raw和data-urlencode选项

Posted by 夏泽民

Curl命令为HTTP POST方法提供了若干种设置数据的选项,这里比较一下。



zend_extension

Posted by 夏泽民

http://blog.mallol.cn/2018/31c7372c.html http://yangxikun.github.io/php/2016/07/10/php-zend-extension.html 根据 PHP 版本,zend_extension 指令可以是以下之一:



zend ZEND_OPCODE_HANDLER_ARGS_PASSTHRU

Posted by 夏泽民

https://wiki.php.net/internals/extensions opcode 对应函数执行代码 if (UNEXPECTED((ret = ((opcode_handler_t)OPLINE->handler)(ZEND_OPCODE_HANDLER_ARGS_PASSTHRU)) != 0)) { hook 方法: 1,用函数简单包裹这一行 2,在扩展中mdoudule_init 里替换这个函数,做hook或者探针逻辑 数组的值存储在zvalue_value.ht字段中,ht是一个HashTable的数据 在Zend/zend_vm_execute.h文件中



graphviz

Posted by 夏泽民

https://github.com/xiazemin/graphviz https://www.jianshu.com/p/e44885a777f0

<一> graphviz dot 使用步骤


Search

Popular posts

Anything in here will be replaced on browsers that support the canvas element

Recent posts

This blog is maintained by 夏泽民

Get in touch with me at 465474307@qq.com

Subscribe to our mailing list

* indicates required