handler

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: 6 Imported by: 0

Documentation

Overview

Package handler provides HTTP handlers for skeleton service endpoints. It includes handlers for Sentry integration testing and glog verbosity level testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSentryAlertHandler

func NewSentryAlertHandler(sentryClient libsentry.Client) http.Handler

NewSentryAlertHandler creates an HTTP handler that sends a test alert to Sentry. It captures an exception with additional context data to verify Sentry integration.

func NewTestLoglevelHandler

func NewTestLoglevelHandler() http.Handler

NewTestLoglevelHandler creates an HTTP handler that tests different glog verbosity levels. It logs messages at various levels to verify logging configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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