Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomPort ¶
func RandomPort() int
func RunWithServer ¶
func RunWithServer(t *testing.T, callback func(*MongoLocal))
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() Config
type MongoLocal ¶
type MongoLocal struct {
// contains filtered or unexported fields
}
func (*MongoLocal) Config ¶
func (m *MongoLocal) Config() Config
func (*MongoLocal) Logger ¶
func (m *MongoLocal) Logger() *zap.Logger
func (*MongoLocal) Process ¶
func (m *MongoLocal) Process() *exec.Cmd
func (*MongoLocal) Start ¶
func (m *MongoLocal) Start() error
func (*MongoLocal) Stop ¶
func (m *MongoLocal) Stop() error
func (*MongoLocal) URI ¶
func (m *MongoLocal) URI() string
Click to show internal directories.
Click to hide internal directories.