neo4jdriverwrap

package
v0.0.0-...-29499b7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package neo4jdriverwrap holds the logic of adapting neo4jdriver options and functions to be usable from the OpenTelemetry exporter module. This module is made of helper functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(zsl *zap.SugaredLogger) log.Logger

NewLogger takes a *zap.SugaredLogger to create a logger compliant with the interface Logger from "github.com/neo4j/neo4j-go-driver/v5/neo4j/log".

func WithBackOffConfig

func WithBackOffConfig(boc *configretry.BackOffConfig) func(*config.Config)

WithBackOffConfig

func WithLogger

func WithLogger(zl *zap.Logger) func(*config.Config)

WithLogger

func WithUserAgent

func WithUserAgent(ua string) func(*config.Config)

WithUserAgent

Types

This section is empty.

Jump to

Keyboard shortcuts

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