package servertest
import "go.mongodb.org/mongo-driver/mongo/internal/servertest"
Index ¶
Types ¶
type FakeMonitor ¶
FakeMonitor is a fake monitor.
func NewFakeMonitor ¶
func NewFakeMonitor(kind model.ServerKind, addr model.Addr, opts ...server.Option) *FakeMonitor
NewFakeMonitor creates a fake monitor.
func (*FakeMonitor) SetKind ¶
func (m *FakeMonitor) SetKind(kind model.ServerKind) error
SetKind sets the server kind for the monitor.
Source Files ¶
monitor.go
- Version
- v0.0.2
- Published
- Mar 6, 2018
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 4 minutes ago –
Tools for package owners.