db

package
v0.0.0-...-c1a9489 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const TIMEOUT = 1500

in millisecond

Variables

This section is empty.

Functions

func NewDB

func NewDB(address string, logger *slog.Logger, opt *options.ClientOptions) (*mongo.Client, error)

nil opt = default opt

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL