test

package
v1.30.0-dexcom-api-v2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*test.Mock
	RecordMetricInvocations int
	RecordMetricInputs      []RecordMetricInput
	RecordMetricOutputs     []error
}

func NewClient

func NewClient() *Client

func (*Client) Expectations

func (c *Client) Expectations()

func (*Client) RecordMetric

func (c *Client) RecordMetric(ctx context.Context, name string, data ...map[string]string) error

type RecordMetricInput

type RecordMetricInput struct {
	Context context.Context
	Name    string
	Data    []map[string]string
}

Jump to

Keyboard shortcuts

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