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)
Click to show internal directories.
Click to hide internal directories.