middleware

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 2 Imported by: 0

README

go-enlight-middleware

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NilSpan

type NilSpan struct{}

func (*NilSpan) End

func (s *NilSpan) End()

type OpenCensusTracer

type OpenCensusTracer struct{}

func (*OpenCensusTracer) StartSpan

func (t *OpenCensusTracer) StartSpan(ctx context.Context, resourceName string) (context.Context, Span)

type Span

type Span interface {
	End()
}

type Tracer

type Tracer interface {
	StartSpan(ctx context.Context, resourceName string) (context.Context, Span)
}

Jump to

Keyboard shortcuts

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