trace

package module
v0.0.0-...-f0ccf61 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Trace

func Trace(opts ...Option) goreq.HandlerFunc

Types

type Option

type Option func(options *Options)

func DumpRequest

func DumpRequest(dumpRequest bool) Option

func DumpResponse

func DumpResponse(dumpResponse bool) Option

func ServiceName

func ServiceName(serviceName string) Option

type Options

type Options struct {
	DumpRequest  bool
	DumpResponse bool
	ServiceName  string
}

Jump to

Keyboard shortcuts

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