Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStreamHandler ¶
type CloudStreamHandler struct { // members below should be set by the caller Stream executorpb.SpannerExecutorProxy_ExecuteActionAsyncServer ServerContext context.Context Options []option.ClientOption // contains filtered or unexported fields }
CloudStreamHandler handles a streaming ExecuteActions request by performing incoming actions. It maintains a state associated with the request, such as current transaction.
func (*CloudStreamHandler) Execute ¶
func (h *CloudStreamHandler) Execute() error
Execute executes the given ExecuteActions request, blocking until it's done. It takes care of properly closing the request stream in the end.
Click to show internal directories.
Click to hide internal directories.