Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseWrapper ¶
ClientWrapper acts as a database wrapper
func NewDatabaseWrapper ¶
func NewDatabaseWrapper(dbOptions *Options) *DatabaseWrapper
NewDatabaseWrapper is a method that constructs a new databaseWrapper
type Options ¶
type Options struct { User string Password string DataBaseName string ClusterEndpoint string CaFilePath string ConnectTimeout time.Duration QueryTimeout time.Duration UseSSL string ConnectionString string ReadPreference string }
Options provide database options
func NewOptions ¶
func NewOptions(serverValues *srv.ServerValues) *Options
NewOptions instantiates a new Options object
Click to show internal directories.
Click to hide internal directories.