Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Setting ¶
type Setting struct { // debug相关字段 debug.Options // 控制是否使用空值 NotIgnoreEmpty bool //是否自动加ContentType NoAutoContentType bool //超时时间 Timeout time.Duration // 目前用作SetTimeout 和 WithContext是互斥 // index是自增id,主要给互斥API定优先级 // 对于互斥api,后面的会覆盖前面的 Index int //当前time 的index TimeoutIndex int UseChunked bool }
设置
func (*Setting) SetTimeout ¶
Click to show internal directories.
Click to hide internal directories.