README ¶ JK Go Development Kit Kits args : 无外部依赖的命令行参数解析器 signal : 应用程序信号处理 fs : 文件系统辅助函数 djb2: djb2 哈希算法 response: JSON 响应生成器 logger: 带有日志切割的 Logrus 工具 sqlite: sqlite 工具 syncmap: 支持泛型的 sync.Map rand: 随机数 lib http2: http2 lib xor: 简单的 XOR 加密和计算 lib gzip: gzip 编解码器 base58: base58 编解码器 hash: sha1、sha2、md5 等 hash lib size: 格式化 int 类型的 size uniqid: 基于纳秒的唯一ID生成器 crash: crash recovery function tcp: tcp 服务器 udp: udp 服务器 http: 一次性 http Get/Post 请求构造器 json: 带有美化功能简单 json 编解码器 puresqlite: 纯 go sqlite lib context: context 的封装,实现类似面向对象的用法 utils: 一些实用方法 Tools cmd/cert: tls 自签证书生成工具 Example package main import ( "github.com/o8x/jk" ) func main() { jk.Hello() } > go run . github.com/o8x/jk say hello to you Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Hello() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Hello ¶ func Hello() Types ¶ This section is empty. Source Files ¶ View all Source files jk.go Directories ¶ Show internal Expand all Path Synopsis args flag ini option base58 cert cmd cert command context crash djb2 error fs gzip hash http http2 id jshook ws json logger puresqlite rand response sc signal size sqlite syncmap tcp udp uniqid version x xor Click to show internal directories. Click to hide internal directories.