Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a gRPC client connection
func (*Client) StreamEvents ¶
func (cl *Client) StreamEvents(ctx context.Context, after string, opts ...reflex.StreamOption, ) (reflex.StreamClient, error)
StreamEvents wraps a gRPC stream, feeding the events to reflex
type Server ¶
type Server struct { reflexpb.UnimplementedReflexServer // contains filtered or unexported fields }
Server is an gRPC streaming server for testing
func NewServer ¶
func NewServer(_ testing.TB, stream reflex.StreamFunc, cStore reflex.CursorStore, ) (*Server, string)
NewServer starts and returns a reflex server and its address.
func (*Server) Stream ¶
func (srv *Server) Stream(req *reflexpb.StreamRequest, ss reflexpb.Reflex_StreamServer, ) error
Stream creates a new stream
Click to show internal directories.
Click to hide internal directories.