Documentation ¶
Overview ¶
Package native is a collection of tracers written in go.
In order to add a native tracer and have it compiled into the binary, a new file needs to be added to this folder, containing an implementation of the `mnm.tracers.Tracer` interface.
Aside from implementing the tracer, it also needs to register itself, using the `register` method -- and this needs to be done in the package initialization.
Example:
func init() { register("noopTracerNative", newNoopTracer) }
Click to show internal directories.
Click to hide internal directories.