Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client retrieves user device info.
type InstrumentationFactory ¶
type InstrumentationFactory struct {
// contains filtered or unexported fields
}
InstrumentationFactory initializes instrumentation code.
func NewInstrumentationFactory ¶
func NewInstrumentationFactory( logger logger.Logger, timer timer.Timer, metrics metrics.Metrics, analytics analytics.Analytics, keyGen keygen.KeyGenerator, client Client, ) InstrumentationFactory
NewInstrumentationFactory creates Instrumentation factory.
func (InstrumentationFactory) NewHTTP ¶
func (f InstrumentationFactory) NewHTTP(req *http.Request) instrumentation.Instrumentation
NewHTTP creates and initializes Instrumentation tied to the given HTTP request.
func (InstrumentationFactory) NewRequest ¶
func (f InstrumentationFactory) NewRequest() instrumentation.Instrumentation
NewRequest creates and initializes Instrumentation for a given user request.
Click to show internal directories.
Click to hide internal directories.