mongox

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

* @Author: hugo * @Date: 2024-04-19 17:19 * @LastEditors: hugo * @LastEditTime: 2024-05-17 15:02 * @FilePath: \gotox\mongox\mongox.go * @Description: * * Copyright (c) 2024 by hugo, All Rights Reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mongox

type Mongox struct {
	// contains filtered or unexported fields
}

func New

func New(conf *configx.Configx, logCli logx.Logger) (*Mongox, error)

func (*Mongox) Close

func (c *Mongox) Close(ctx context.Context, wg *sync.WaitGroup)

func (*Mongox) DB

func (c *Mongox) DB() *mongo.Database

func (*Mongox) Name

func (c *Mongox) Name() string

Jump to

Keyboard shortcuts

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