Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPingServiceClient ¶
type MockPingServiceClient struct {
ping.PingServiceClient
OnPing Ping
}
func (MockPingServiceClient) Ping ¶
func (m MockPingServiceClient) Ping(_ context.Context, _ *ping.PingRequest, _ ...grpc.CallOption) (*ping.Response, error)
type MockPingServiceClients ¶
type MockPingServiceClients struct {
OnClose error
PingServiceClient MockPingServiceClient
}
func (MockPingServiceClients) Close ¶
func (m MockPingServiceClients) Close() error
func (MockPingServiceClients) Ping ¶
func (m MockPingServiceClients) Ping() ping.PingServiceClient
Click to show internal directories.
Click to hide internal directories.