mongo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSpanFactory

func CreateSpanFactory(operation string) func(ctx context.Context, name, db, collection string) trace.Span

Types

type CreateReadSpanFactory

type CreateReadSpanFactory func(ctx context.Context, name, db, collection string) trace.Span
var CreateReadSpan CreateReadSpanFactory

Package-level variable holding the factory function

type CreateWriteSpanFactory

type CreateWriteSpanFactory func(ctx context.Context, name, db, collection string) trace.Span
var CreateWriteSpan CreateWriteSpanFactory

Jump to

Keyboard shortcuts

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