Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct { CreateInvVal *outofbandv2.Invitation CreateInvErr error AcceptInvVal string AcceptInvErr error }
MockClient is a mock out-of-band v2 client used in tests.
func (*MockClient) AcceptInvitation ¶
func (m *MockClient) AcceptInvitation(i *outofbandv2.Invitation) (string, error)
AcceptInvitation mock.
func (*MockClient) CreateInvitation ¶
func (m *MockClient) CreateInvitation(opts ...client.MessageOption) (*outofbandv2.Invitation, error)
CreateInvitation mock.
type MockService ¶
type MockService struct {
SaveInvitationErr error
}
MockService is a mock outofband service.
func (*MockService) AcceptInvitation ¶
func (m *MockService) AcceptInvitation(*outofbandv2.Invitation, ...outofbandv2.AcceptOption) (string, error)
AcceptInvitation mock.
func (*MockService) SaveInvitation ¶
func (m *MockService) SaveInvitation(*outofbandv2.Invitation) error
SaveInvitation mock.
Click to show internal directories.
Click to hide internal directories.