package nsqlookupdimport ( "io" "net" "github.com/nsqio/nsq/internal/protocol")type tcpServer struct { ctx *Context}func (p *tcpServer) Handle(clientC... ...
分类:
其他好文 时间:
2017-08-31 12:51:28
阅读次数:
172
package nsqdimport ( "bytes" "sync")var bp sync.Poolfunc init() { bp.New = func() interface{} { return &bytes.Buffer{} }}func bufferPoolGet() *bytes.B... ...
分类:
其他好文 时间:
2017-08-31 12:49:28
阅读次数:
108
package nsqlookupdimport ( "fmt" "net" "os" "sync" "github.com/nsqio/nsq/internal/http_api" "github.com/nsqio/nsq/internal/protocol" "github.com/nsqio... ...
分类:
数据库 时间:
2017-08-31 12:48:06
阅读次数:
219
package nsqdimport ( "crypto/md5" "crypto/tls" "hash/crc32" "io" "log" "os" "time")type Options struct { // basic options ID int64 `flag:"worke... ...
分类:
其他好文 时间:
2017-08-31 12:43:49
阅读次数:
123
package nsqdimport ( "io" "net" "github.com/nsqio/nsq/internal/protocol")type tcpServer struct { ctx *context}func (p *tcpServer) Handle(clientConn ne... ...
分类:
其他好文 时间:
2017-08-31 12:43:13
阅读次数:
119
package nsqdimport ( "bytes" "encoding/binary" "encoding/json" "errors" "fmt" "io" "math" "math/rand" "net" "sync/atomic" "time" "unsafe" "github.com/... ...
分类:
其他好文 时间:
2017-08-31 12:35:41
阅读次数:
164
package nsqlookupdimport ( "bufio" "encoding/binary" "encoding/json" "fmt" "io" "log" "net" "os" "strings" "sync/atomic" "time" "github.com/nsqio/nsq/... ...
分类:
数据库 时间:
2017-08-31 12:33:38
阅读次数:
222
BOM(浏览器对象模型) 作用 弹出新浏览器窗口的能力; 移动、关闭和更改浏览器窗口大小的能力; 可提供WEB浏览器详细信息的导航对象; 可提供浏览器载入页面详细信息的本地对象; 可提供用户屏幕分辨率详细信息的屏幕对象; 支持Cookies; window 定义 window是js在浏览器环境中 全 ...
分类:
其他好文 时间:
2017-08-31 09:38:30
阅读次数:
160
map即网络映射器对Linux系统/网络管理员来说是一个开源且非常通用的工具。Nmap用于在远程机器上探测网络,执行安全扫描,网络审计和搜寻开放端口。它会扫描远程在线主机,该主机的操作系统,包过滤器和开放的端口。 我将用两个不同的部分来涵盖大部分NMAP的使用方法,这是nmap关键的第一部分。在下面 ...
分类:
系统相关 时间:
2017-08-30 21:38:30
阅读次数:
375
//入参$in1 = '2017-01-01'; //必填$in2 = '2017-08-01'; //必填$in3 = ''; //选填 $tns = '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521)) ...
分类:
数据库 时间:
2017-08-30 18:34:54
阅读次数:
231