func Session() *SessionOptions {
	return &SessionOptions{
		CausalConsistency: &DefaultCausalConsistency,
	}
}
Session creates a new SessionOptions instance.
package options
import (
	"time"
	"go.mongodb.org/mongo-driver/mongo/readconcern"
	"go.mongodb.org/mongo-driver/mongo/readpref"
	"go.mongodb.org/mongo-driver/mongo/writeconcern"
)
var DefaultCausalConsistency = true
type SessionOptions struct {
	CausalConsistency *bool
	DefaultReadConcern *readconcern.ReadConcern
	DefaultReadPreference *readpref.ReadPref
	DefaultWriteConcern *writeconcern.WriteConcern
	DefaultMaxCommitTime *time.Duration
}