Documentation ¶
Index ¶
- type MessagingClient
- func (_m MessagingClient) Command(command string, selfID string, payload []byte) ([]byte, error)
- func (_m MessagingClient) Request(recipients []string, cid, mtype string, data []byte, timeout time.Duration) (string, []byte, error)
- func (_m MessagingClient) Send(recipients []string, data []byte) error
- func (_m MessagingClient) Subscribe(msgType string, sub func(string, []byte))
- type PkiClient
- type RestTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessagingClient ¶
MessagingClient is an autogenerated mock type for the messagingClient type
func (MessagingClient) Command ¶
Command provides a mock function with given fields: command, selfID, payload
func (MessagingClient) Request ¶
func (_m MessagingClient) Request(recipients []string, cid, mtype string, data []byte, timeout time.Duration) (string, []byte, error)
Request provides a mock function with given fields: recipients, cid, data, timeout
type PkiClient ¶
PkiClient is an autogenerated mock type for the pkiClient type
func (*PkiClient) GetHistory ¶
func (_m *PkiClient) GetHistory(selfID string) ([]json.RawMessage, error)
GetHistory provides a mock function with given fields: selfID
type RestTransport ¶
RestTransport is an autogenerated mock type for the restTransport type
func (*RestTransport) BuildURL ¶
func (_m *RestTransport) BuildURL(path string) string
BuildURL provides a mock function with given fields: path
Click to show internal directories.
Click to hide internal directories.