fakemetricrec

package
v1.0.13125-18d62e5 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StubServer

type StubServer struct {
	URL   string
	Close func()
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context) *StubServer

func (*StubServer) GetMetrics

func (s *StubServer) GetMetrics() map[string]float64

func (*StubServer) GetRawMetrics

func (s *StubServer) GetRawMetrics() []metricData

func (*StubServer) SetErrOnMetrics

func (s *StubServer) SetErrOnMetrics(errOnMetrics bool)

Jump to

Keyboard shortcuts

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