Versions in this module Expand all Collapse all v0 v0.5.0 Jun 14, 2019 v0.4.0 May 16, 2019 v0.3.0 Feb 14, 2019 v0.2.1 Jan 12, 2019 v0.2.0 Jan 9, 2019 v0.1.0 Dec 18, 2018 Changes in this version + const ReplsetMemberHealthDown + const ReplsetMemberHealthUp + const ReplsetMemberStateArbiter + const ReplsetMemberStateDown + const ReplsetMemberStatePrimary + const ReplsetMemberStateRecovering + const ReplsetMemberStateRemoved + const ReplsetMemberStateRollback + const ReplsetMemberStateSecondary + const ReplsetMemberStateStartup + const ReplsetMemberStateStartup2 + const ReplsetMemberStateUnknown + var ReplsetMemberStateStrings = map[ReplsetMemberState]string + type BalancerMode string + const BalancerModeFull + const BalancerModeOff + type BalancerStatus struct + ClusterTime *ClusterTime + InBalancerRound bool + Mode BalancerMode + NumBalancerRounds int64 + Ok int + OperationTime *bson.MongoTimestamp + type ClusterTime struct + ClusterTime time.Time + Signature struct{ ... } + type ConfigServerState struct + OpTime *OpTime + type GleStats struct + ElectionId bson.ObjectId + LastOpTime bson.MongoTimestamp + type IsMaster struct + ClusterTime *ClusterTime + ConfigServerState *ConfigServerState + ConfigSvr int + GleStats *GleStats + Hidden bool + Hosts []string + IsMaster bool + LastWrite IsMasterLastWrite + LocalTime time.Time + LogicalSessionTimeoutMinutes int64 + MaxBsonObjectSise int64 + MaxMessageSizeBytes int64 + MaxWireVersion int64 + MaxWriteBatchSize int64 + Me string + MinWireVersion int64 + Msg string + Ok int + OperationTime *bson.MongoTimestamp + Primary string + Secondary bool + SetName string + SetVersion string + type IsMasterLastWrite struct + LastWriteDate time.Time + MajorityOpTime *OpTime + MajorityWriteDate time.Time + OpTime *OpTime + type ListShards struct + ClusterTime *ClusterTime + Ok int + OperationTime *bson.MongoTimestamp + Shards []*Shard + type Mongos struct + AdvisoryHostFQDNs []string + Id string + MongoVersion string + Ping time.Time + Up int64 + Waiting bool + type Namespace string + func (n Namespace) Collection() string + func (n Namespace) Database() string + type OkResponse struct + ClusterTime *ClusterTime + Ok int + OperationTime *bson.MongoTimestamp + type OpTime struct + Term int64 + Ts bson.MongoTimestamp + type Operation string + const OperationCommand + const OperationDelete + const OperationInsert + const OperationNoop + const OperationUpdate + func (o Operation) String() string + type Oplog struct + HistoryID int64 + Namespace Namespace + Object bson.RawD + Operation Operation + Query bson.RawD + Term int64 + Timestamp bson.MongoTimestamp + UI *bson.Binary + Version int + WallTime time.Time + type OplogTimestampOnly struct + Timestamp bson.MongoTimestamp + type ReplSetGetConfig struct + ClusterTime *ClusterTime + Config *ReplsetConfig + ConfigServerState *ConfigServerState + Errmsg string + GleStats *GleStats + Ok int + OperationTime *bson.MongoTimestamp + type ReplsetConfig struct + Configsvr bool + Members []*ReplsetConfigMember + Name string + ProtocolVersion int + Settings *ReplsetConfigSettings + Version int + WriteConcernMajorityJournalDefault bool + type ReplsetConfigMember struct + ArbiterOnly bool + BuildIndexes bool + Hidden bool + Host string + Id int + Priority int + SlaveDelay int64 + Tags map[string]string + Votes int + type ReplsetConfigSettings struct + CatchUpTimeoutMillis int64 + ChainingAllowed bool + ElectionTimeoutMillis int64 + GetLastErrorDefaults *WriteConcern + GetLastErrorModes map[string]map[string]string + HeartbeatIntervalMillis int64 + HeartbeatTimeoutSecs int + ReplicaSetId bson.ObjectId + type ReplsetMemberHealth int + type ReplsetMemberState int + func (ms ReplsetMemberState) String() string + type ReplsetStatus struct + ClusterTime *ClusterTime + ConfigServerState *ConfigServerState + Date time.Time + Errmsg string + GleStats *GleStats + HeartbeatIntervalMillis int64 + Members []*ReplsetStatusMember + MyState ReplsetMemberState + Ok int + OperationTime *bson.MongoTimestamp + Optimes *StatusOpTimes + Set string + Term int64 + type ReplsetStatusMember struct + ConfigVersion int + ElectionDate time.Time + ElectionTime bson.MongoTimestamp + Health ReplsetMemberHealth + Id int + InfoMessage string + LastHeartbeat time.Time + LastHeartbeatRecv time.Time + Name string + Optime *OpTime + OptimeDate time.Time + OptimeDurable *OpTime + OptimeDurableDate time.Time + PingMs int64 + Self bool + State ReplsetMemberState + StateStr string + SyncingTo string + Uptime int64 + type Shard struct + Host string + Id string + State int + type ShardingState struct + ClusterID bson.ObjectId + ClusterTime *ClusterTime + ConfigServer string + ConfigServerState *ConfigServerState + Enabled bool + GleStats *GleStats + Ok int + OperationTime *bson.MongoTimestamp + ShardName string + Versions map[string]bson.MongoTimestamp + type StatusOpTimes struct + AppliedOpTime *OpTime + DurableOptime *OpTime + LastCommittedOpTime *OpTime + ReadConcernMajorityOpTime *OpTime + type WriteConcern struct + Journal bool + WriteConcern interface{} + WriteTimeout int