factory

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package factory provides factory functions for creating HTTP handlers with dependency injection. It centralizes handler construction to maintain clean separation between handler implementation and service initialization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSentryAlertHandler

func CreateSentryAlertHandler(sentryClient libsentry.Client) http.Handler

CreateSentryAlertHandler creates an HTTP handler that sends test alerts to Sentry.

func CreateTestLoglevelHandler

func CreateTestLoglevelHandler() http.Handler

CreateTestLoglevelHandler creates an HTTP handler that tests different glog verbosity levels.

Types

This section is empty.

Jump to

Keyboard shortcuts

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