Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeforeCreate ¶
func BeforeCreate(document interface{}) interface{}
func BeforeUpdate ¶
func BeforeUpdate(document interface{}) interface{}
Types ¶
type Config ¶
type Config struct { URI string MaxConnIdleTime time.Duration MaxPoolSize uint64 MinPoolSize uint64 DisableMetric bool // 关闭指标采集 DisableTrace bool // 关闭链路追踪 }
Config 配置
Click to show internal directories.
Click to hide internal directories.