Commit Graph

8 Commits

Author SHA1 Message Date
57775a33ec feat: 添加 []byte ↔ bytes 支持(base64 透明编解码)
- Python 侧:_decode_bytes_args 根据函数注解自动解码入参,_bytes_encode 自动编码 bytes 返回值
- _cast 支持 bytes 类型(call_go[bytes] 返回值解码)
- 流式输出同步支持 chan []byte(每个 chunk 独立编解码)
- example/worker.py 新增 bytes_reverse / bytes_concat / bytes_chunks 示例
- example/main.go 新增对应演示用例
- README 补充类型表 []byte 行及完整使用章节
2026-05-19 20:07:31 +08:00
e6a61cc1ee refactor: 将 WithSticky 重命名为 StickyCtx,避免与 pool Option 的 With* 前缀冲突 2026-05-08 15:21:59 +08:00
a3cf983b39 refactor: 将 WithAffinity 重命名为 WithSticky,文件 affinity.go → sticky.go 2026-05-08 11:37:34 +08:00
3d293699e9 docs: 添加 Session 亲和路由章节(NewSession / WithAffinity) 2026-05-08 11:29:39 +08:00
30004e44ee docs: 添加 handler 中使用 threading.Thread 的注意事项 2026-04-14 16:49:12 +08:00
07e9239ac5 refactor: 将装饰器 gobridge 重命名为 expose,并添加 pyproject.toml 2026-04-13 17:13:54 +08:00
cca4860df0 docs: 更新 uv pyproject.toml 示例,改为从 git 仓库安装 Python 包 2026-04-10 09:28:05 +08:00
a92abca252 first commit 2026-04-10 09:24:28 +08:00