# Functions
CompositeSelector combines multiple selectors into a single selector by applying them in order to the candidates list.
LatencySelector creates a ServerSelector which selects servers based on their average RTT values.
NewDefaultServer creates a new unknown server description with the given address.
NewServer creates a new server description from the given hello command response.
NewServerFromError creates a new unknown server description with the given parameters.
NewTopologyVersion creates a TopologyVersion based on doc.
NewVersionRange creates a new VersionRange given a min and a max.
OutputAggregateSelector selects servers based on the provided read preference given that the underlying operation is aggregate with an output stage.
ReadPrefSelector selects servers based on the provided read preference.
WriteSelector selects all the writable servers.
# Constants
These constants are the available topology configurations.
These constants are the possible types of servers.
These constants are the possible types of servers.
These constants are the available topology configurations.
These constants are the available topology configurations.
These constants are the available topology configurations.
These constants are the possible types of servers.
These constants are the possible types of servers.
These constants are the possible types of servers.
These constants are the possible types of servers.
These constants are the possible types of servers.
These constants are the available topology configurations.
These constants are the available topology configurations.
These constants are the possible types of servers.
Unknown is an unknown server or topology kind.
# Structs
SelectedServer augments the Server type by also including the TopologyKind of the topology that includes the server.
Server contains information about a node in a cluster.
Topology contains information about a MongoDB cluster.
TopologyVersion represents a software version.
VersionRange represents a range of versions.
# Interfaces
ServerSelector is an interface implemented by types that can perform server selection given a topology description and list of candidate servers.
# Type aliases
ServerKind represents the type of a single server in a topology.
ServerSelectorFunc is a function that can be used as a ServerSelector.
TopologyKind represents a specific topology configuration.