Documentation ¶
Index ¶
- type MockStream
- func (_m *MockStream) CloseSend() error
- func (_m *MockStream) Context() context.Context
- func (_m *MockStream) Header() (metadata.MD, error)
- func (_m *MockStream) Recv() (*gossip.Envelope, error)
- func (_m *MockStream) RecvMsg(m interface{}) error
- func (_m *MockStream) Send(_a0 *gossip.Envelope) error
- func (_m *MockStream) SendMsg(m interface{}) error
- func (_m *MockStream) Trailer() metadata.MD
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStream ¶
MockStream is an autogenerated mock type for the MockStream type
func (*MockStream) CloseSend ¶
func (_m *MockStream) CloseSend() error
CloseSend provides a mock function with given fields:
func (*MockStream) Context ¶
func (_m *MockStream) Context() context.Context
Context provides a mock function with given fields:
func (*MockStream) Header ¶
func (_m *MockStream) Header() (metadata.MD, error)
Header provides a mock function with given fields:
func (*MockStream) Recv ¶
func (_m *MockStream) Recv() (*gossip.Envelope, error)
Recv provides a mock function with given fields:
func (*MockStream) RecvMsg ¶
func (_m *MockStream) RecvMsg(m interface{}) error
RecvMsg provides a mock function with given fields: m
func (*MockStream) Send ¶
func (_m *MockStream) Send(_a0 *gossip.Envelope) error
Send provides a mock function with given fields: _a0
func (*MockStream) SendMsg ¶
func (_m *MockStream) SendMsg(m interface{}) error
SendMsg provides a mock function with given fields: m
func (*MockStream) Trailer ¶
func (_m *MockStream) Trailer() metadata.MD
Trailer provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.