mock

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistryClient

type MockRegistryClient struct {
	// contains filtered or unexported fields
}

MockRegistryClient is a mock of RegistryClient interface.

func NewMockRegistryClient

func NewMockRegistryClient(ctrl *gomock.Controller) *MockRegistryClient

NewMockRegistryClient creates a new mock instance.

func (*MockRegistryClient) Close

func (m *MockRegistryClient) Close()

Close mocks base method.

func (*MockRegistryClient) Create

func (m *MockRegistryClient) Create(did string, doc []byte) error

Create mocks base method.

func (*MockRegistryClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRegistryClient) Resolve added in v0.1.26

func (m *MockRegistryClient) Resolve(did string) (*model.DidDocument, error)

Resolve mocks base method.

func (*MockRegistryClient) Revoke added in v0.1.26

func (m *MockRegistryClient) Revoke(did, didDoc string) error

Revoke mocks base method.

type MockRegistryClientMockRecorder

type MockRegistryClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockRegistryClientMockRecorder is the mock recorder for MockRegistryClient.

func (*MockRegistryClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockRegistryClientMockRecorder) Create

func (mr *MockRegistryClientMockRecorder) Create(did, doc interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRegistryClientMockRecorder) Resolve added in v0.1.26

func (mr *MockRegistryClientMockRecorder) Resolve(did interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

func (*MockRegistryClientMockRecorder) Revoke added in v0.1.26

func (mr *MockRegistryClientMockRecorder) Revoke(did, didDoc interface{}) *gomock.Call

Revoke indicates an expected call of Revoke.

Jump to

Keyboard shortcuts

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