Package fakeserver provides a fake implementation of the RouteLookupService, to be used in unit tests.
Response wraps the response protobuf (xds/LRS) and error that the Server should send out to the client through a call to stream.Send()
Server is a fake implementation of RLS. It exposes channels to send/receive RLS requests and responses.
Start makes a new Server which uses the provided net.Listener. If lis is nil, it creates a new net.Listener on a local port. The returned cancel function should be invoked by the caller upon completion of the test.
func (*Server) ClientConn ¶
ClientConn returns a grpc.ClientConn connected to the fakeServer.