test

package
v1.29.0-mobile.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: BSD-2-Clause Imports: 2 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 {
	GetUserPermissionsInvocations int
	GetUserPermissionsInputs      []GetUserPermissionsInput
	GetUserPermissionsStub        func(ctx context.Context, requestUserID string, targetUserID string) (permission.Permissions, error)
	GetUserPermissionsOutputs     []GetUserPermissionsOutput
	GetUserPermissionsOutput      *GetUserPermissionsOutput
}

func NewClient

func NewClient() *Client

func (*Client) AssertOutputsEmpty

func (c *Client) AssertOutputsEmpty()

func (*Client) GetUserPermissions

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

type GetUserPermissionsInput

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

type GetUserPermissionsOutput

type GetUserPermissionsOutput struct {
	Permissions permission.Permissions
	Error       error
}

Jump to

Keyboard shortcuts

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