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
Click to show internal directories.
Click to hide internal directories.