Functional options and config for APIs - 技术分享 - Gopher China 2020 大会.pdfVIP

  • 2
  • 0
  • 约1.96万字
  • 约 19页
  • 2022-02-16 发布于广西
  • 举报

Functional options and config for APIs - 技术分享 - Gopher China 2020 大会.pdf

案 方 决 解 Functional options and config for APIs 品 精 / ⽑剑@bilibili 告 报 究 研 选 精 1 2 0 2 Redis client example // DialTimeout acts like Dial for establishing the 案 // connection to the server, writing a command and reading a reply. func Dial(network, address string) (Conn, error) 方 决 解 品 “我要自定义超时时间!” 精 / “我要设定Database !” 告 报 “我要控制连接池的策略!” 究 “我要安全使用Redis,让我填一下 Password !” 研 “可以提供一下慢查询请求记录,并且可以设置slowlog 时间?” 选 精 1 2 0 2 Features // DialTimeout acts like Dial for establishing the 案 // connection to the server, writing a command and reading a reply. func Dial(network, address string) (Conn, error) 方 决

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档