Documentation ¶
Index ¶
- func CombinedInd(ind []*Index) string
- func ConvString(i interface{}) string
- type Index
- type MongoDB
- func (m *MongoDB) CheckCollShard(d, c string) error
- func (m *MongoDB) CheckDB(key *pargs.SoftBson) bool
- func (m *MongoDB) CheckDBIsShard(d string) error
- func (m *MongoDB) Close()
- func (m *MongoDB) CreateInd(indexes []*pargs.SoftBson)
- func (m *MongoDB) InitMongo(url string) error
- func (m *MongoDB) SetLogger(log *logrus.Logger)
- func (m *MongoDB) SetLoggerParam(s *pargs.Param)
- func (m *MongoDB) Shared(s []*pargs.SoftBson)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CombinedInd ¶
func ConvString ¶
func ConvString(i interface{}) string
Types ¶
type MongoDB ¶
type MongoDB struct {
// contains filtered or unexported fields
}
func (*MongoDB) CheckCollShard ¶
func (*MongoDB) CheckDBIsShard ¶
func (*MongoDB) SetLoggerParam ¶
Click to show internal directories.
Click to hide internal directories.