gotools/internal/event/export/ocagent/ocagent_test.go

const testNodeStr

var keyDB

var keyMethod

var keyRoute

var key1DB

var key2aAge

var key2bTTL

var key2cExpiryMS

var key3aRetry

var key3bStale

var key4aMax

var key4bOpcode

var key4cBase

var key4eChecksum

var key4fMode

var key5aMin

var key5bMix

var key5cPort

var key5dMinHops

var key5eMaxHops

var recursiveCalls

var bytesIn

var latencyMs

var metricLatency

var metricBytesIn

var metricRecursiveCalls

type testExporter

func registerExporter() *testExporter {}

func timeFixer(output event.Exporter) event.Exporter {}

func spanFixer(output event.Exporter) event.Exporter {}

func (e *testExporter) Output(route string) []byte {}

func checkJSON(t *testing.T, got, want []byte) {}

type fakeSender

func (s *fakeSender) get(route string) []byte {}

func (s *fakeSender) RoundTrip(req *http.Request) (*http.Response, error) {}