Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2023 Changes in this version + var WithDatabaseDir = func(d string) ServerOption + var WithPort = func(p int) ServerOption + var WithReplicaSet = func(n string) ServerOption + type Server struct + func Start(ctx context.Context, version string) (*Server, error) + func StartWithOptions(ctx context.Context, version string, so ...ServerOption) (*Server, error) + func StartWithReplicaSet(ctx context.Context, version, replicaSetName string) (*Server, error) + func (s *Server) DBdir() string + func (s *Server) Port() int + func (s *Server) ReplicaSet() string + func (s *Server) Stop(ctx context.Context) + func (s *Server) String() string + func (s *Server) URI() string + type ServerOption func(*Server)