middleware

package
v0.0.0-...-c537dde Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package middleware implements shared LUCI middleware and gRPC interceptors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CronWrapper

type CronWrapper func(cron.Handler) cron.Handler

A CronWrapper is a function that wraps a cron handler to provide middleware functionality.

func CronTrace

func CronTrace(name string) CronWrapper

CronTrace is a wrapper to add tracing to cron handlers. name is the name of the trace span.

Jump to

Keyboard shortcuts

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