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
// AppName string
// ConnectTimeout time.Duration
MaxConnIdleTime time.Duration
MaxPoolSize uint64
MinPoolSize uint64
}
Config 配置
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy 代理
func (*Proxy) SetNameSpace ¶
SetNameSpace 设置组
Click to show internal directories.
Click to hide internal directories.