hertz

package
v0.0.0-...-b246a2e Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCtx

func ClientCtx(next client.Endpoint) client.Endpoint

func ClientTraceMW

func ClientTraceMW(next client.Endpoint) client.Endpoint

func NewDefaultTracer

func NewDefaultTracer() tracer.Tracer

func NewTracer

func NewTracer(tracer opentracing.Tracer, formOperationName func(c *app.RequestContext) string) tracer.Tracer

func ServerCtx

func ServerCtx() app.HandlerFunc

Types

type StringHeader

type StringHeader protocol.RequestHeader

func (*StringHeader) Visit

func (sh *StringHeader) Visit(f func(k, v string))

Visit implements the metainfo.HTTPHeaderCarrier interface.

Jump to

Keyboard shortcuts

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