Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewContext ¶
func NewContext(parent context.Context, lc *LumigoContext) context.Context
NewContext returns a new Context that carries value lumigo context.
Types ¶
type LumigoContext ¶
type LumigoContext struct {
TracerVersion string
}
LumigoContext is the set of metadata that is passed for every Invoke.
func FromContext ¶
func FromContext(ctx context.Context) (*LumigoContext, bool)
FromContext returns the lumigoKey value stored in ctx, if any.
Click to show internal directories.
Click to hide internal directories.