21 lines
638 B
Go
21 lines
638 B
Go
package mongo
|
|
|
|
import "time"
|
|
|
|
type Conf struct {
|
|
Schema string
|
|
User string
|
|
Password string
|
|
Host string
|
|
Port string
|
|
Database string
|
|
ReplicaName string
|
|
MaxStaleness time.Duration
|
|
MaxPoolSize uint64
|
|
MinPoolSize uint64
|
|
MaxConnIdleTime time.Duration
|
|
Compressors []string
|
|
EnableStandardReadWriteSplitMode bool
|
|
ConnectTimeoutMs int64
|
|
}
|