apmgoji

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package apmgoji provides middleware for the Goji framework, for tracing HTTP requests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware() func(*web.C, http.Handler) http.Handler

Middleware returns a goji middleware function that will trace incoming requests.

Types

type ServeConfig

type ServeConfig struct {
	Resource string
}

ServeConfig specifies the tracing configuration when using TraceAndServe.

Jump to

Keyboard shortcuts

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