fakecollector

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Copyright 2020 New Relic Corporation. All rights reserved. SPDX-License-Identifier: Apache-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCollector

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

func NewService

func NewService() FakeCollector

func (*FakeCollector) ClearQueue

func (fc *FakeCollector) ClearQueue(writer http.ResponseWriter, request *http.Request)

func (*FakeCollector) Connect

func (fc *FakeCollector) Connect(writer http.ResponseWriter, request *http.Request)

func (*FakeCollector) DequeueSample

func (fc *FakeCollector) DequeueSample(writer http.ResponseWriter, request *http.Request)

func (*FakeCollector) LastProxy

func (fc *FakeCollector) LastProxy(resp http.ResponseWriter, req *http.Request)

func (*FakeCollector) NewSample

func (fc *FakeCollector) NewSample(writer http.ResponseWriter, request *http.Request)

func (*FakeCollector) NotifyProxy

func (fc *FakeCollector) NotifyProxy(resp http.ResponseWriter, req *http.Request)

type Request

type Request struct {
	Samples []map[string]interface{}
}

Recorded request, storing the samples that were contained in the request

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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