码迷,mamicode.com
首页 >  
搜索关键字:golang goroutine channel select    ( 46270个结果
Python搭建接口自动化测试框架-Golang-Gin
项目介绍 AutoApiTest 基于python的接口自动化测试框架 Test部分基于yingoja开源的DemoApi优化修改而来 API部分将继续完善,提供基于C#,Go,Java,Python版本的Api服务程序,目的是为了学习接口测试的同学不需要去搭建其他语言的运行环境,顺便我也复习一下这 ...
分类:编程语言   时间:2021-07-26 16:52:35    阅读次数:0
SQL注入bypass
一、数据库层特性 1、Mysql数据库bypass 1.参数和union之间 id=1\Nunion id=1.1union id=8e0union 2.union和select之间 union%0aselect union%09select union%0bselect union%0cselec ...
分类:数据库   时间:2021-07-23 17:41:48    阅读次数:0
KINGBASE 全文检索
KINGBASE 支持全文检索,其内置的缺省的分词解析器采用空格分词。因为中文的词语之间没有空格分割,所以这种方法并不适用于中文。要支持中文的全文检索需要额外的中文分词插件。 一、默认空格分词 1、tsvector test=# SELECT to_tsvector('Try not to beco ...
分类:其他好文   时间:2021-07-22 17:34:08    阅读次数:0
统一异常管理
import com.logistics.channel.constant.BizException;import com.logistics.channel.tool.CommonErrorEnum;import com.logistics.channel.tool.ResultBody;impo ...
分类:其他好文   时间:2021-07-21 17:30:16    阅读次数:0
rust 实现协程池
use crossbeam_channel::{Receiver, bounded}; use tokio::time::{Duration, delay_for}; #[tokio::main] async fn main() { let (s, r) = bounded(10); for i i ...
分类:其他好文   时间:2021-07-19 16:57:38    阅读次数:0
[GO]golang实现AES加解密
直接上代码: package tools import ( "bytes" "crypto/aes" "crypto/cipher" ) func PKCS5Padding(ciphertext []byte, blockSize int) []byte { padding := blockSize ...
分类:其他好文   时间:2021-07-19 16:44:12    阅读次数:0
Go 语言范围(Range)
Go 语言范围(Range) Go 语言中 range 关键字用于 for 循环中迭代数组(array)、切片(slice)、通道(channel)或集合(map)的元素。在数组和切片中它返回元素的索引和索引对应的值,在集合中返回 key-value 对。 实例 package main impor ...
分类:编程语言   时间:2021-07-12 18:21:03    阅读次数:0
epoll原理及应用
什么是 epoll? epoll 是 Linux 内核的可扩展 I/O 事件通知机制。取代了 select 与 poll 系统函数,让需要大量操作文件描述符的程序得以发挥更优异的性能。旧有的系统函数所花费的事件复杂度为 O(1),epoll 的时间复杂度为 O(logn)。epoll 实现的功能与 ...
分类:其他好文   时间:2021-07-12 17:56:41    阅读次数:0
表单中el-select和el-input的长度不一致?
当它们一起使用时,一般select长度是默认的,会比input短,只需要设置其宽度是100%即可。 .el-form-item .el-select { width: 100%; } 同理,el-date-picker也是类似的,但有所差别。 给其设置class, <el-date-picker v ...
分类:其他好文   时间:2021-07-12 17:46:58    阅读次数:0
mysql使用技巧
mysql使用技巧 1.导出数据的时候,可以加入mysqldump --skip-lock-table,可以在不锁表的情况导出数据,速度更快一些 2.在连接数据库的时候,可以加入-A,可以加快连接速度 3.查询sql语句的时候,在末尾加入\G,可以显示为”字段:值“的格式 4.也可以使用-e进行sq ...
分类:数据库   时间:2021-07-07 17:53:59    阅读次数:0
46270条   1 2 3 4 ... 4627 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!