mock

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamingServer

type NamingServer interface {
	namingpb.PolarisGRPCServer
	// HeartbeatCount get the hb count from mock naming server
	HeartbeatCount(address string) int
	// ListenAndServe start the server
	ListenAndServe(int) error
	// Terminate the server
	Terminate()
}

NamingServer mock naming server interface

func NewNamingServer

func NewNamingServer() NamingServer

NewNamingServer constructor for NamingServer

Jump to

Keyboard shortcuts

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