trace

package
v0.0.0-...-af619fd Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContextKey = TraceKey("trace-key")

Functions

func NewlessTraceService

func NewlessTraceService(params ...interface{}) (interface{}, error)

Types

type LessTraceProvider

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

func (*LessTraceProvider) Boot

func (provider *LessTraceProvider) Boot(c framework.Container) error

Boot will called when the service instantiate

func (*LessTraceProvider) IsDefer

func (provider *LessTraceProvider) IsDefer() bool

IsDefer define whether the service instantiate when first make or register

func (*LessTraceProvider) Name

func (provider *LessTraceProvider) Name() string

/ Name define the name for this service

func (*LessTraceProvider) Params

func (provider *LessTraceProvider) Params(c framework.Container) []interface{}

Params define the necessary params for NewInstance

func (*LessTraceProvider) Register

Register registe a new function for make a service instance

type TraceKey

type TraceKey string

Jump to

Keyboard shortcuts

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