util

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package util contains utility functions for the project.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearContextMeta

func ClearContextMeta(ctx context.Context) context.Context

ClearContextMeta returns a new context with the given parent context but with all incoming GRPC metadata removed.

This is useful for preventing the GRPC metadata from being forwarded to etcd, e.g. in cases where an embedded etcd is used.

Types

This section is empty.

Directories

Path Synopsis
Package testhelpers provides helpers for tests.
Package testhelpers provides helpers for tests.

Jump to

Keyboard shortcuts

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