mnemosynetest

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mnemosyne

type Mnemosyne struct {
	mock.Mock
}

func (*Mnemosyne) Abandon

func (_m *Mnemosyne) Abandon(ctx context.Context, token string) error

Abandon provides a mock function with given fields: ctx, token

func (*Mnemosyne) Close

func (_m *Mnemosyne) Close() error

Close provides a mock function with given fields:

func (*Mnemosyne) Exists

func (_m *Mnemosyne) Exists(ctx context.Context, token string) (bool, error)

Exists provides a mock function with given fields: ctx, token

func (*Mnemosyne) FromContext

func (_m *Mnemosyne) FromContext(ctx context.Context) (*mnemosynerpc.Session, error)

FromContext provides a mock function with given fields: ctx

func (*Mnemosyne) Get

func (_m *Mnemosyne) Get(ctx context.Context, token string) (*mnemosynerpc.Session, error)

Get provides a mock function with given fields: ctx, token

func (*Mnemosyne) SetValue

func (_m *Mnemosyne) SetValue(ctx context.Context, token string, key string, value string) (map[string]string, error)

SetValue provides a mock function with given fields: ctx, token, key, value

func (*Mnemosyne) Start

func (_m *Mnemosyne) Start(ctx context.Context, subjectID string, subjectClient string, bag map[string]string) (*mnemosynerpc.Session, error)

Start provides a mock function with given fields: ctx, subjectID, subjectClient, bag

type SessionManagerClient added in v0.2.0

type SessionManagerClient struct {
	mock.Mock
}

func (*SessionManagerClient) Abandon added in v0.2.0

Abandon provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Context added in v0.2.0

Context provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Delete added in v0.2.0

Delete provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Exists added in v0.2.0

Exists provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Get added in v0.2.0

Get provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) List added in v0.2.0

List provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) SetValue added in v0.2.0

SetValue provides a mock function with given fields: ctx, in, opts

func (*SessionManagerClient) Start added in v0.2.0

Start provides a mock function with given fields: ctx, in, opts

Jump to

Keyboard shortcuts

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