utils

package
v0.0.0-...-0cfe5d7 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockUntilSignal

func BlockUntilSignal(signals ...os.Signal)

func If

func If[T any](condition bool, trueValue, falseValue T) T

func InitializeLogger

func InitializeLogger(logConfig configs.Log) (logger *zap.Logger, cleanup func(), err error)

func LoggerWithContext

func LoggerWithContext(_ context.Context, logger *zap.Logger) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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