mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bouncer

type Bouncer struct {
	mock.Mock
}

Bouncer is an autogenerated mock type for the Bouncer type

func (*Bouncer) CreateInvitation

func (_m *Bouncer) CreateInvitation(name string) (*didexchange.Invitation, error)

CreateInvitation provides a mock function with given fields: name

func (*Bouncer) CreateInvitationNotify

func (_m *Bouncer) CreateInvitationNotify(name string, success pkgdidexchange.NotifySuccess, nerr pkgdidexchange.NotifyError) (*didexchange.Invitation, error)

CreateInvitationNotify provides a mock function with given fields: name, success, nerr

func (*Bouncer) CreateInvitationWithDIDNotify

func (_m *Bouncer) CreateInvitationWithDIDNotify(name string, did string, success pkgdidexchange.NotifySuccess, nerr pkgdidexchange.NotifyError) (*didexchange.Invitation, error)

CreateInvitationWithDIDNotify provides a mock function with given fields: name, did, success, nerr

func (*Bouncer) EstablishConnection

func (_m *Bouncer) EstablishConnection(invitation *didexchange.Invitation, timeout time.Duration) (*didexchange.Connection, error)

EstablishConnection provides a mock function with given fields: invitation, timeout

func (*Bouncer) InvitationMsg

func (_m *Bouncer) InvitationMsg(e service.DIDCommAction, invite *protocoldidexchange.Invitation)

InvitationMsg provides a mock function with given fields: e, invite

func (*Bouncer) RequestMsg

func (_m *Bouncer) RequestMsg(e service.DIDCommAction, request *protocoldidexchange.Request)

RequestMsg provides a mock function with given fields: e, request

func (*Bouncer) Unregister

func (_m *Bouncer) Unregister(ch chan service.StateMsg)

Unregister provides a mock function with given fields: ch

Jump to

Keyboard shortcuts

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