package
0.5.22
Repository: https://github.com/zhiyunliu/glue.git
Documentation: pkg.go.dev

# Functions

Log 设置日志配置.
New 实例化.
WithAddr 设置服务地址.
WithStartedHook 设置启动回调函数.
WithDecodeRequestFunc 解析入参.
WithEncodeErrorFunc 编码错误.
WithEncodeResponseFunc 编码响应.
No description provided by the author
WithEngine 设置服务引擎(gin).
WithMaxHeaderBytes 最大头部大小(http.DefaultMaxHeaderBytes untyped int = 1 << 20 ).
ReadHeaderTimeout 写入超时时间.
WithReadTimeout 读取超时时间.
WithServiceName 设置服务名称.
WithStartedHook 设置启动回调函数.
WithWriteTimeout 写入超时时间.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

Option 参数设置类型.