server

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTrackingHandler

func NewTrackingHandler(next http.Handler) http.Handler

func SetEndpointPattern

func SetEndpointPattern(ctx context.Context, endpointPattern string)

SetEndpointPattern allows to set the endpoint attribute once it has been matched down the http handling pipeline.

Types

type KrakenDContextTrackingTypeKey

type KrakenDContextTrackingTypeKey string

type TrackingResponseWriter

type TrackingResponseWriter struct {
	// contains filtered or unexported fields
}

func (*TrackingResponseWriter) Flush

func (w *TrackingResponseWriter) Flush()

func (*TrackingResponseWriter) Header

func (w *TrackingResponseWriter) Header() http.Header

func (*TrackingResponseWriter) Hijack

func (*TrackingResponseWriter) Write

func (w *TrackingResponseWriter) Write(b []byte) (int, error)

func (*TrackingResponseWriter) WriteHeader

func (w *TrackingResponseWriter) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

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