Documentation ¶
Overview ¶
Package mock contains mocks for testing against Indy VDR.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndyClient ¶
type IndyClient struct { GetNymErr error GetNymValue *vdr.ReadReply GetEndpointErr error GetEndpointVal *vdr.ReadReply RefreshErr error CloseErr error }
IndyClient is a mock for the Indy VDR.
func (*IndyClient) GetEndpoint ¶
func (r *IndyClient) GetEndpoint(did string) (*vdr.ReadReply, error)
GetEndpoint mocks the GetEndpoint method.
func (*IndyClient) GetNym ¶
func (r *IndyClient) GetNym(did string) (*vdr.ReadReply, error)
GetNym mocks the GetNym method.
func (*IndyClient) GetPoolStatus ¶
func (r *IndyClient) GetPoolStatus() (*vdr.PoolStatus, error)
GetPoolStatus mocks the GetPoolStatus method.
func (*IndyClient) RefreshPool ¶
func (r *IndyClient) RefreshPool() error
RefreshPool mocks the RefreshPool method.
Click to show internal directories.
Click to hide internal directories.