middleware

package
v0.0.0-...-a33e2ab Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameOfGinCtxTracer    = "tracer"
	NameOfGinCtxTracerCtx = "tracerCtx"
)

Variables

This section is empty.

Functions

func Auth

func Auth(ctx context.Context) (context.Context, error)

Auth local auth function

func GlobalAuthFunc

func GlobalAuthFunc() func(ctx context.Context) (context.Context, error)

GlobalAuthFunc global auth function

func JaegerTrace

func JaegerTrace(tracer trace.Trace) gin.HandlerFunc

JaegerTrace the jaegre trace middleware

func TLSTransfer

func TLSTransfer(host string) gin.HandlerFunc

TLSTransfer tls transfer

Types

This section is empty.

Jump to

Keyboard shortcuts

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