util

package
v0.0.0-...-2de4640 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Zaplogger *zap.Logger

Functions

func New

func New(logger *zap.Logger)

This will be used to set a logger with different configuration

Types

type DbClient

type DbClient struct {
	DB *mongo.Client
}

func NewDB

func NewDB(client *mongo.Client) *DbClient

func (*DbClient) TestFunction

func (client *DbClient) TestFunction()

type Logger

type Logger struct {
	Logger *zap.Logger
}

Jump to

Keyboard shortcuts

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