test

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

type MockPingServiceClients

type MockPingServiceClients struct {
	OnClose error

	PingServiceClient MockPingServiceClient
}

func (MockPingServiceClients) Close

func (m MockPingServiceClients) Close() error

func (MockPingServiceClients) Ping

type Ping

type Ping struct {
	Given    *ping.PingRequest
	Response *ping.Response
	Error    error
}

Jump to

Keyboard shortcuts

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