Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIsMasterDoc ¶ added in v0.0.10
func IsIsMasterValueTruthy ¶ added in v0.0.13
Types ¶
type Command ¶ added in v0.0.10
type Command string
const ( Unknown Command = "unknown" AbortTransaction Command = "abortTransaction" Aggregate Command = "aggregate" CommitTransaction Command = "commitTransaction" Count Command = "count" CreateIndexes Command = "createIndexes" Delete Command = "delete" Distinct Command = "distinct" Drop Command = "drop" DropDatabase Command = "dropDatabase" DropIndexes Command = "dropIndexes" EndSessions Command = "endSessions" Find Command = "find" FindAndModify Command = "findAndModify" GetMore Command = "getMore" Insert Command = "insert" IsMaster Command = "isMaster" Ismaster Command = "ismaster" ListCollections Command = "listCollections" ListIndexes Command = "listIndexes" ListDatabases Command = "listDatabases" MapReduce Command = "mapReduce" Update Command = "update" )
type Message ¶
func IsMasterResponse ¶
func IsMasterResponse(responseTo int32, topologyKind description.TopologyKind) (*Message, error)
hard-coded response, emulating an upstream isMaster response from MongoDB
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) Description ¶ added in v0.0.3
func (m *Mongo) Description() description.Topology
type Operation ¶
type TransactionDetails ¶ added in v0.0.14
Click to show internal directories.
Click to hide internal directories.