test

package
v1.20.0-dexcom-api.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: BSD-3-Clause Imports: 4 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
	GetUserPermissionsInvocations int
	GetUserPermissionsInputs      []GetUserPermissionsInput
	GetUserPermissionsOutputs     []GetUserPermissionsOutput
}

func NewClient

func NewClient() *Client

func (*Client) Expectations

func (c *Client) Expectations()

func (*Client) GetUserPermissions

func (c *Client) GetUserPermissions(ctx context.Context, requestUserID string, targetUserID string) (user.Permissions, error)

type GetUserPermissionsInput

type GetUserPermissionsInput struct {
	Context       context.Context
	RequestUserID string
	TargetUserID  string
}

type GetUserPermissionsOutput

type GetUserPermissionsOutput struct {
	Permissions user.Permissions
	Error       error
}

Jump to

Keyboard shortcuts

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